Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.918/2.918, allocations: 476.8 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 65.25 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3225, allocations: 170 MB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002566/0.325, allocations: 1.296 MB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3261, allocations: 0.6168 MB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.3261, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.3262, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.3262, allocations: 7.938 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.3267, allocations: 152 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.3268, allocations: 27.8 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.3268, allocations: 4 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.3269, allocations: 4 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.3269, allocations: 15.92 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.3269, allocations: 0 / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.3275, allocations: 343.3 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.3275, allocations: 8 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.3275, allocations: 7.938 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3278, allocations: 151.1 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3278, allocations: 0 / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3278, allocations: 0 / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3278, allocations: 0 / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004441/0.3282, allocations: 289.9 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3282, allocations: 12.03 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.3283, allocations: 34.73 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.3283, allocations: 4.938 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.3284, allocations: 110.5 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.3284, allocations: 384 / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3284, allocations: 4.375 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3286, allocations: 38.25 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3286, allocations: 3.938 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3286, allocations: 4 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3286, allocations: 0 / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.3286, allocations: 11.94 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.3288, allocations: 128.8 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.329, allocations: 46.61 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.329, allocations: 16.94 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.329, allocations: 4 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3291, allocations: 30.56 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3291, allocations: 0 / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006011/0.3297, allocations: 241 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3297, allocations: 59.39 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.3298, allocations: 94.19 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3298, allocations: 29.7 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.3298, allocations: 80.14 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3299, allocations: 23.83 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.3299, allocations: 25.66 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3301, allocations: 318.8 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.3301, allocations: 15.98 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.3301, allocations: 8 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.069e-05/0.3302, allocations: 32.8 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.3302, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001031/0.3303, allocations: 69.56 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3303, allocations: 8 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3303, allocations: 192 / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3303, allocations: 0 / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.3304, allocations: 15.98 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3304, allocations: 4 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.3304, allocations: 7.984 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.3304, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.3305, allocations: 105.8 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.3305, allocations: 15.89 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.3307, allocations: 81.95 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3307, allocations: 0 / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3307, allocations: 4 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3307, allocations: 0 / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.331, allocations: 290.4 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.331, allocations: 0 / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.3311, allocations: 12 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3311, allocations: 0 / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3311, allocations: 3.984 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3311, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3311, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.3313, allocations: 184.3 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.3313, allocations: 15.97 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3313, allocations: 0 / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.3314, allocations: 0 / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.3314, allocations: 7.984 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3314, allocations: 0 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.3315, allocations: 83.28 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3315, allocations: 0 / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002485/0.3317, allocations: 27.94 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005848/0.3323, allocations: 0.7327 MB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.3324, allocations: 27.98 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3324, allocations: 0 / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.3325, allocations: 24.25 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3327, allocations: 7.938 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.334, allocations: 1.327 MB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3343, allocations: 0.6845 MB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.3344, allocations: 4 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.3344, allocations: 19.42 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3344, allocations: 0 / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.3634, allocations: 1.698 MB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.69, allocations: 0 / 1.293 GB, free: 1.809 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.226610878948122] Failed to read output from testmodel.py, exit status != 0: 12.267144419951364 11.820569868 11.488207535 Calling exit ...