Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002262/0.002262, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002463/0.002463, allocations: 216.9 kB / 23.04 MB, free: 5.074 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.361/3.361, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="cs",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.001989/0.001989, allocations: 61.52 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002617/0.3669, allocations: 1.356 MB / 1.347 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1903/0.5572, allocations: 151.4 MB / 1.494 GB, free: 7.102 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.5572, allocations: 0 / 1.494 GB, free: 7.102 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.5573, allocations: 7.922 kB / 1.494 GB, free: 7.094 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 9.177e-05/0.5573, allocations: 15.92 kB / 1.495 GB, free: 7.078 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009936/0.5583, allocations: 350.4 kB / 1.495 GB, free: 6.734 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.5585, allocations: 59.83 kB / 1.495 GB, free: 6.676 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.5585, allocations: 8 kB / 1.495 GB, free: 6.668 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.5585, allocations: 35.84 kB / 1.495 GB, free: 6.633 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.5587, allocations: 35.89 kB / 1.495 GB, free: 6.598 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.5587, allocations: 4 kB / 1.495 GB, free: 6.594 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008814/0.5595, allocations: 442.9 kB / 1.495 GB, free: 6.16 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.5596, allocations: 19.97 kB / 1.495 GB, free: 6.141 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.5597, allocations: 23.88 kB / 1.495 GB, free: 6.117 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.56, allocations: 167.5 kB / 1.496 GB, free: 5.953 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.56, allocations: 0 / 1.496 GB, free: 5.953 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.333e-06/0.56, allocations: 0 / 1.496 GB, free: 5.953 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.56, allocations: 4 kB / 1.496 GB, free: 5.949 MB / 1.186 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.0004986/0.5605, allocations: 306 kB / 1.496 GB, free: 5.621 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5606, allocations: 8.031 kB / 1.496 GB, free: 5.613 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.428e-05/0.5606, allocations: 8.188 kB / 1.496 GB, free: 5.605 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.5606, allocations: 42.67 kB / 1.496 GB, free: 5.555 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.5611, allocations: 36.86 kB / 1.496 GB, free: 5.52 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.5612, allocations: 114 kB / 1.496 GB, free: 5.383 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.5612, allocations: 8 kB / 1.496 GB, free: 5.375 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.5613, allocations: 11.95 kB / 1.496 GB, free: 5.363 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.5615, allocations: 85.58 kB / 1.496 GB, free: 5.273 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.5615, allocations: 0 / 1.496 GB, free: 5.273 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5615, allocations: 0 / 1.496 GB, free: 5.273 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5615, allocations: 0 / 1.496 GB, free: 5.273 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.5616, allocations: 51.89 kB / 1.496 GB, free: 5.223 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.5619, allocations: 156.6 kB / 1.496 GB, free: 5.027 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.5621, allocations: 90.67 kB / 1.496 GB, free: 4.93 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.5621, allocations: 24.84 kB / 1.497 GB, free: 4.902 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.5623, allocations: 23.98 kB / 1.497 GB, free: 4.879 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.5624, allocations: 42.48 kB / 1.497 GB, free: 4.828 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-05/0.5624, allocations: 4 kB / 1.497 GB, free: 4.824 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001413/0.5638, allocations: 470.4 kB / 1.497 GB, free: 4.332 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.5638, allocations: 55.34 kB / 1.497 GB, free: 4.266 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.5639, allocations: 101.8 kB / 1.497 GB, free: 4.156 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.5639, allocations: 29.7 kB / 1.497 GB, free: 4.121 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.564, allocations: 84.52 kB / 1.497 GB, free: 4.035 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.5641, allocations: 75.38 kB / 1.497 GB, free: 3.961 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.5641, allocations: 37.7 kB / 1.497 GB, free: 3.918 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5643, allocations: 322.8 kB / 1.498 GB, free: 3.594 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.5644, allocations: 31.98 kB / 1.498 GB, free: 3.562 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.5645, allocations: 82.72 kB / 1.498 GB, free: 3.473 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.5646, allocations: 107.4 kB / 1.498 GB, free: 3.355 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5646, allocations: 0 / 1.498 GB, free: 3.355 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002502/0.5649, allocations: 161.5 kB / 1.498 GB, free: 3.191 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5649, allocations: 8 kB / 1.498 GB, free: 3.184 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5649, allocations: 0 / 1.498 GB, free: 3.184 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5649, allocations: 4 kB / 1.498 GB, free: 3.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.5651, allocations: 39.92 kB / 1.498 GB, free: 3.141 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.5651, allocations: 15.92 kB / 1.498 GB, free: 3.125 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.5652, allocations: 0 / 1.498 GB, free: 3.125 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.5652, allocations: 12 kB / 1.498 GB, free: 3.113 MB / 1.186 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 9.957e-05/0.5653, allocations: 117.8 kB / 1.498 GB, free: 2.988 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.5653, allocations: 7.953 kB / 1.498 GB, free: 2.98 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.5654, allocations: 16.47 kB / 1.498 GB, free: 2.961 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5654, allocations: 7.938 kB / 1.498 GB, free: 2.953 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.5654, allocations: 3.938 kB / 1.498 GB, free: 2.949 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5654, allocations: 0 / 1.498 GB, free: 2.949 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.5656, allocations: 164.7 kB / 1.498 GB, free: 2.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5656, allocations: 3.984 kB / 1.498 GB, free: 2.742 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.5658, allocations: 43.92 kB / 1.498 GB, free: 2.699 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5658, allocations: 0 / 1.498 GB, free: 2.699 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5658, allocations: 0 / 1.498 GB, free: 2.699 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5658, allocations: 4 kB / 1.498 GB, free: 2.695 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5658, allocations: 3.938 kB / 1.499 GB, free: 2.691 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.5662, allocations: 210.2 kB / 1.499 GB, free: 2.469 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.5662, allocations: 11.98 kB / 1.499 GB, free: 2.457 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.5663, allocations: 12.05 kB / 1.499 GB, free: 2.445 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5664, allocations: 8 kB / 1.499 GB, free: 2.438 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.5664, allocations: 15.88 kB / 1.499 GB, free: 2.422 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.5664, allocations: 11.97 kB / 1.499 GB, free: 2.41 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.5665, allocations: 79.28 kB / 1.499 GB, free: 2.332 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5665, allocations: 0 / 1.499 GB, free: 2.332 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002247/0.5667, allocations: 28 kB / 1.499 GB, free: 2.305 MB / 1.186 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.0006836/0.5674, allocations: 0.7502 MB / 1.5 GB, free: 1.523 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.5676, allocations: 100.7 kB / 1.5 GB, free: 1.426 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5676, allocations: 0 / 1.5 GB, free: 1.426 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 8.227e-05/0.5677, allocations: 57.42 kB / 1.5 GB, free: 1.371 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.568, allocations: 23.98 kB / 1.5 GB, free: 1.348 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.5701, allocations: 1.835 MB / 1.502 GB, free: 15.41 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5705, allocations: 0.6969 MB / 1.502 GB, free: 14.69 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.5706, allocations: 16.64 kB / 1.502 GB, free: 14.67 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.5706, allocations: 31.42 kB / 1.502 GB, free: 14.64 MB / 1.201 GB Notification: Performance of SimCode: time 7.81e-07/0.5706, allocations: 4 kB / 1.502 GB, free: 14.64 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.5951, allocations: 2.672 MB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.22, allocations: 0 / 1.505 GB, free: 12.11 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.217390907986555]