Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.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.001508/0.001508, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001564/0.001564, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.208/3.208, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirDerivativeCheck",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.002109/0.002109, allocations: 73.17 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3871, allocations: 176.1 MB / 1.325 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002829/0.3899, allocations: 1.331 MB / 1.326 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1755/0.5654, allocations: 130 MB / 1.453 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.5655, allocations: 0 / 1.453 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 5.603e-05/0.5655, allocations: 7.938 kB / 1.453 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.5657, allocations: 15.91 kB / 1.453 GB, free: 14.44 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.567, allocations: 326.6 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.5672, allocations: 75.75 kB / 1.454 GB, free: 14.04 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.5672, allocations: 0 / 1.454 GB, free: 14.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.5673, allocations: 35.84 kB / 1.454 GB, free: 14.01 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.5674, allocations: 35.89 kB / 1.454 GB, free: 13.97 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.5674, allocations: 0 / 1.454 GB, free: 13.97 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009723/0.5684, allocations: 371 kB / 1.454 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.5685, allocations: 11.98 kB / 1.454 GB, free: 13.6 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.5685, allocations: 27.91 kB / 1.454 GB, free: 13.57 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.5689, allocations: 155.5 kB / 1.454 GB, free: 13.42 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5689, allocations: 4 kB / 1.454 GB, free: 13.41 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5689, allocations: 0 / 1.454 GB, free: 13.41 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.5689, allocations: 0 / 1.454 GB, free: 13.41 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000551/0.5695, allocations: 319.6 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.5695, allocations: 12.03 kB / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.5696, allocations: 34.75 kB / 1.455 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.57, allocations: 44.84 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.5701, allocations: 110.2 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5701, allocations: 8 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.5702, allocations: 8 kB / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.5704, allocations: 210.1 kB / 1.455 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5704, allocations: 0 / 1.455 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.5705, allocations: 8 kB / 1.455 GB, free: 12.58 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5705, allocations: 0 / 1.455 GB, free: 12.58 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.883e-05/0.5706, allocations: 43.95 kB / 1.455 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.5708, allocations: 160.5 kB / 1.455 GB, free: 12.34 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.571, allocations: 86.59 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.5711, allocations: 29.17 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/0.5712, allocations: 31.92 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.5713, allocations: 38.56 kB / 1.455 GB, free: 12.13 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.5713, allocations: 0 / 1.455 GB, free: 12.13 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001393/0.5727, allocations: 473.4 kB / 1.456 GB, free: 11.64 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.5727, allocations: 55.41 kB / 1.456 GB, free: 11.57 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.5728, allocations: 105.8 kB / 1.456 GB, free: 11.46 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.5728, allocations: 33.7 kB / 1.456 GB, free: 11.42 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.5729, allocations: 80.52 kB / 1.456 GB, free: 11.34 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.124e-05/0.573, allocations: 75.36 kB / 1.456 GB, free: 11.26 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.573, allocations: 33.72 kB / 1.456 GB, free: 11.22 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5732, allocations: 322.8 kB / 1.457 GB, free: 10.9 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.5733, allocations: 35.98 kB / 1.457 GB, free: 10.86 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.5734, allocations: 67.41 kB / 1.457 GB, free: 10.79 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.5735, allocations: 119.3 kB / 1.457 GB, free: 10.66 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5735, allocations: 4.125 kB / 1.457 GB, free: 10.65 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002663/0.5738, allocations: 165.5 kB / 1.457 GB, free: 10.48 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5738, allocations: 8 kB / 1.457 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5738, allocations: 0 / 1.457 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5739, allocations: 0 / 1.457 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.574, allocations: 35.98 kB / 1.457 GB, free: 10.44 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.574, allocations: 11.88 kB / 1.457 GB, free: 10.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.5741, allocations: 4 kB / 1.457 GB, free: 10.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.5741, allocations: 4 kB / 1.457 GB, free: 10.42 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001187/0.5742, allocations: 122.4 kB / 1.457 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.5743, allocations: 11.95 kB / 1.457 GB, free: 10.28 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.5743, allocations: 16.47 kB / 1.457 GB, free: 10.26 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5743, allocations: 7.984 kB / 1.457 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.5743, allocations: 3.938 kB / 1.457 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.5743, allocations: 0 / 1.457 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.5745, allocations: 156.7 kB / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5745, allocations: 3.938 kB / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.5747, allocations: 36.11 kB / 1.457 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5747, allocations: 3.984 kB / 1.457 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.5747, allocations: 4 kB / 1.457 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5748, allocations: 3.938 kB / 1.457 GB, free: 10 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5748, allocations: 11.94 kB / 1.457 GB, free: 9.992 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.5751, allocations: 211.9 kB / 1.458 GB, free: 9.77 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.5752, allocations: 11.94 kB / 1.458 GB, free: 9.758 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.5752, allocations: 8.062 kB / 1.458 GB, free: 9.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.5753, allocations: 11.98 kB / 1.458 GB, free: 9.738 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.5753, allocations: 11.92 kB / 1.458 GB, free: 9.727 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.5754, allocations: 8 kB / 1.458 GB, free: 9.719 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.5754, allocations: 83.27 kB / 1.458 GB, free: 9.637 MB / 1.154 GB Notification: Performance of sort global known variables: time 5e-08/0.5754, allocations: 0 / 1.458 GB, free: 9.637 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002339/0.5756, allocations: 24.09 kB / 1.458 GB, free: 9.613 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0007079/0.5764, allocations: 0.7582 MB / 1.458 GB, free: 8.828 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.5766, allocations: 99.95 kB / 1.459 GB, free: 8.73 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5766, allocations: 0 / 1.459 GB, free: 8.73 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.5767, allocations: 47.92 kB / 1.459 GB, free: 8.684 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.577, allocations: 11.94 kB / 1.459 GB, free: 8.672 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.5792, allocations: 1.831 MB / 1.46 GB, free: 6.746 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.5793, allocations: 83.98 kB / 1.46 GB, free: 6.645 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.5794, allocations: 24.64 kB / 1.461 GB, free: 6.621 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.5795, allocations: 23.44 kB / 1.461 GB, free: 6.598 MB / 1.154 GB Notification: Performance of SimCode: time 3.81e-07/0.5795, allocations: 0 / 1.461 GB, free: 6.598 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04301/0.6225, allocations: 2.984 MB / 1.463 GB, free: 3.754 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.87, allocations: 4.531 kB / 1.463 GB, free: 3.754 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.69991939421743]