Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001282/0.001282, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001475/0.001475, allocations: 215.9 kB / 22.25 MB, free: 5.121 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 8 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.83/2.83, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] 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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.002026/0.002026, allocations: 72 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3621, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003127/0.3652, allocations: 1.507 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3665, allocations: 0.6362 MB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.3665, allocations: 4 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.3666, allocations: 7.938 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.3666, allocations: 7.922 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.3673, allocations: 165.8 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3674, allocations: 47.8 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.3674, allocations: 7.984 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.3675, allocations: 23.92 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.3676, allocations: 27.91 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3676, allocations: 8 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.3681, allocations: 347.3 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.3682, allocations: 11.92 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.3682, allocations: 19.94 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.3685, allocations: 182.8 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.3685, allocations: 4 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3685, allocations: 0 / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.3685, allocations: 0 / 1.286 GB, free: 8.691 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007414/0.3693, allocations: 333.8 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3693, allocations: 8.031 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.3694, allocations: 38.75 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.3694, allocations: 8.891 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3695, allocations: 110.4 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.3696, allocations: 4.375 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.3696, allocations: 8.375 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.3698, allocations: 82.2 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3699, allocations: 11.89 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3699, allocations: 8 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3699, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.3701, allocations: 47.95 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.3707, allocations: 291.8 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.371, allocations: 78.53 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3712, allocations: 32.83 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3712, allocations: 4 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3712, allocations: 30.56 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3712, allocations: 3.938 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001648/0.3729, allocations: 0.4957 MB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3729, allocations: 51.41 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.373, allocations: 113.8 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.373, allocations: 29.7 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.3731, allocations: 92.02 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.3731, allocations: 39.69 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.3732, allocations: 25.72 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3734, allocations: 318.8 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3735, allocations: 31.98 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3736, allocations: 31.97 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3739, allocations: 76.45 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3739, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003139/0.3742, allocations: 125.7 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3742, allocations: 4.094 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3742, allocations: 3.938 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3742, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3744, allocations: 27.92 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3744, allocations: 11.94 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/0.3744, allocations: 7.984 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3744, allocations: 4 kB / 1.289 GB, free: 5.898 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 (13): * Single equations (assignments): 13 * 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 0.0001178/0.3746, allocations: 117.8 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.3746, allocations: 7.953 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.375, allocations: 121.7 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.375, allocations: 4 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.375, allocations: 7.938 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.375, allocations: 0 / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.3756, allocations: 353.5 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3756, allocations: 4 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.3757, allocations: 23.98 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3757, allocations: 3.938 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3758, allocations: 4 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3758, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3758, allocations: 4 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.3763, allocations: 255.3 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.3763, allocations: 3.953 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3763, allocations: 3.938 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.3764, allocations: 11.98 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.3765, allocations: 12.05 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.3765, allocations: 8 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.3765, allocations: 79.28 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3765, allocations: 0 / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002873/0.3768, allocations: 39.86 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0009445/0.3777, allocations: 0.8219 MB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.3781, allocations: 76.05 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3781, allocations: 3.938 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3782, allocations: 47.86 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3785, allocations: 11.98 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.381, allocations: 1.614 MB / 1.292 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.3813, allocations: 0.6924 MB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.618e-05/0.3814, allocations: 8.672 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.3815, allocations: 23.42 kB / 1.293 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3815, allocations: 0 / 1.293 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.4204, allocations: 2.472 MB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.76, allocations: 4 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.463067303877324] Failed to read output from testmodel.py, exit status != 0: 12.48078858689405 11.890039779 11.517243155 Calling exit ...