Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 194 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 59.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5306/0.5328, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002243/0.535, allocations: 1.325 MB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1405/0.6756, allocations: 148.1 MB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.6757, allocations: 0 / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.6758, allocations: 0 / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.6759, allocations: 23.84 kB / 1.163 GB, free: 12.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009648/0.6768, allocations: 326.6 kB / 1.164 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.677, allocations: 67.7 kB / 1.164 GB, free: 12.04 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.677, allocations: 7.984 kB / 1.164 GB, free: 12.04 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.6771, allocations: 27.92 kB / 1.164 GB, free: 12.01 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.453e-05/0.6772, allocations: 31.89 kB / 1.164 GB, free: 11.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.6772, allocations: 4 kB / 1.164 GB, free: 11.97 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.678, allocations: 410.8 kB / 1.164 GB, free: 11.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.678, allocations: 15.98 kB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.6781, allocations: 31.84 kB / 1.164 GB, free: 11.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.6784, allocations: 157.9 kB / 1.164 GB, free: 11.37 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6785, allocations: 0 / 1.164 GB, free: 11.37 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6785, allocations: 4 kB / 1.164 GB, free: 11.37 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.6785, allocations: 0 / 1.164 GB, free: 11.37 MB / 0.92 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.0004135/0.6789, allocations: 383.3 kB / 1.165 GB, free: 10.95 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6789, allocations: 12.03 kB / 1.165 GB, free: 10.93 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.679, allocations: 46.62 kB / 1.165 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004026/0.6794, allocations: 40.8 kB / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.16e-05/0.6795, allocations: 164.1 kB / 1.165 GB, free: 10.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.6795, allocations: 8 kB / 1.165 GB, free: 10.63 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.6796, allocations: 8 kB / 1.165 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.6797, allocations: 77.64 kB / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.6797, allocations: 0 / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.6798, allocations: 4 kB / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.6798, allocations: 0 / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.325e-05/0.6799, allocations: 55.89 kB / 1.165 GB, free: 10.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.68, allocations: 189.4 kB / 1.165 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.6802, allocations: 94.62 kB / 1.165 GB, free: 10.15 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.6803, allocations: 32.84 kB / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.6805, allocations: 178.2 kB / 1.166 GB, free: 9.902 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.6806, allocations: 42.5 kB / 1.166 GB, free: 9.852 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.6806, allocations: 0 / 1.166 GB, free: 9.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.00126/0.6818, allocations: 0.5384 MB / 1.166 GB, free: 9.262 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.6819, allocations: 55.41 kB / 1.166 GB, free: 9.195 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.648e-05/0.6819, allocations: 105.8 kB / 1.166 GB, free: 9.082 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.682, allocations: 29.7 kB / 1.166 GB, free: 9.047 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.682, allocations: 80.52 kB / 1.166 GB, free: 8.965 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.682, allocations: 67 kB / 1.166 GB, free: 8.898 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.6821, allocations: 41.7 kB / 1.167 GB, free: 8.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.6822, allocations: 319 kB / 1.167 GB, free: 8.531 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.6823, allocations: 43.98 kB / 1.167 GB, free: 8.488 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.6824, allocations: 67.34 kB / 1.167 GB, free: 8.41 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.6825, allocations: 115.4 kB / 1.167 GB, free: 8.285 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6825, allocations: 0 / 1.167 GB, free: 8.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00022/0.6827, allocations: 161.4 kB / 1.167 GB, free: 8.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6828, allocations: 4 kB / 1.167 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6828, allocations: 11.98 kB / 1.167 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6828, allocations: 0 / 1.167 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.683, allocations: 39.92 kB / 1.167 GB, free: 8.066 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.683, allocations: 7.938 kB / 1.167 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.6831, allocations: 4 kB / 1.167 GB, free: 8.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.6831, allocations: 4 kB / 1.167 GB, free: 8.051 MB / 0.92 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 8.176e-05/0.6832, allocations: 121.8 kB / 1.167 GB, free: 7.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.6832, allocations: 11.84 kB / 1.167 GB, free: 7.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.6832, allocations: 24.36 kB / 1.167 GB, free: 7.887 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6832, allocations: 4 kB / 1.167 GB, free: 7.883 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.6833, allocations: 7.938 kB / 1.167 GB, free: 7.875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6833, allocations: 3.984 kB / 1.167 GB, free: 7.871 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.6834, allocations: 197.6 kB / 1.168 GB, free: 7.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6834, allocations: 0 / 1.168 GB, free: 7.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.6836, allocations: 31.98 kB / 1.168 GB, free: 7.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.6836, allocations: 4 kB / 1.168 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.6837, allocations: 4 kB / 1.168 GB, free: 7.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6837, allocations: 0 / 1.168 GB, free: 7.59 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.6837, allocations: 3.938 kB / 1.168 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.684, allocations: 214.4 kB / 1.168 GB, free: 7.359 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.684, allocations: 97.06 kB / 1.168 GB, free: 7.246 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.6841, allocations: 0 / 1.168 GB, free: 7.246 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.6842, allocations: 8 kB / 1.168 GB, free: 7.238 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.6842, allocations: 12.17 kB / 1.168 GB, free: 7.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.6843, allocations: 12 kB / 1.168 GB, free: 7.215 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.6843, allocations: 83.27 kB / 1.168 GB, free: 7.133 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6843, allocations: 0 / 1.168 GB, free: 7.133 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002279/0.6845, allocations: 28 kB / 1.168 GB, free: 7.105 MB / 0.92 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.0005076/0.685, allocations: 0.7485 MB / 1.169 GB, free: 6.332 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.6853, allocations: 116 kB / 1.169 GB, free: 6.219 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.6853, allocations: 0 / 1.169 GB, free: 6.219 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.6854, allocations: 51.92 kB / 1.169 GB, free: 6.168 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.6856, allocations: 17.95 kB / 1.169 GB, free: 6.152 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.6873, allocations: 1.815 MB / 1.171 GB, free: 4.242 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.6875, allocations: 0.6969 MB / 1.171 GB, free: 3.52 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.6877, allocations: 20.64 kB / 1.171 GB, free: 3.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.6877, allocations: 31.36 kB / 1.172 GB, free: 3.469 MB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.6878, allocations: 4 kB / 1.172 GB, free: 3.465 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.7062, allocations: 2.379 MB / 1.174 GB, free: 1.145 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.597, allocations: 9.562 kB / 1.174 GB, free: 1.137 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches