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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 103.6 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 482.4 MB / 0.755 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 72.05 kB / 0.924 GB, free: 320 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7943, allocations: 162.2 MB / 1.082 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002455/0.7968, allocations: 1.397 MB / 1.084 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1792/0.976, allocations: 145.9 MB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.9761, allocations: 4 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.9762, allocations: 0 / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.9764, allocations: 19.91 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.9774, allocations: 306.8 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.9775, allocations: 63.77 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.272e-05/0.9776, allocations: 4 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.9776, allocations: 31.86 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.9777, allocations: 35.89 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.9778, allocations: 0 / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008326/0.9786, allocations: 434.8 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.9787, allocations: 23.97 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.9787, allocations: 27.86 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.979, allocations: 105.8 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.979, allocations: 4 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.342e-06/0.979, allocations: 0 / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.979, allocations: 4 kB / 1.227 GB, free: 10.28 MB / 0.9512 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.0005165/0.9795, allocations: 391.3 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9796, allocations: 8.031 kB / 1.228 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.98, allocations: 36.89 kB / 1.228 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.9801, allocations: 168.3 kB / 1.228 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.9802, allocations: 3.938 kB / 1.228 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.9802, allocations: 15.91 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.9804, allocations: 85.58 kB / 1.228 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.9804, allocations: 0 / 1.228 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.9804, allocations: 0 / 1.228 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.9805, allocations: 4 kB / 1.228 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.9806, allocations: 43.95 kB / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.9808, allocations: 193.5 kB / 1.228 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.981, allocations: 94.62 kB / 1.228 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.9811, allocations: 32.84 kB / 1.228 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.9814, allocations: 182.2 kB / 1.228 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.9814, allocations: 38.5 kB / 1.229 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.9814, allocations: 0 / 1.229 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001433/0.9829, allocations: 0.5432 MB / 1.229 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.9829, allocations: 51.41 kB / 1.229 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.983, allocations: 105.8 kB / 1.229 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.9831, allocations: 33.7 kB / 1.229 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.9831, allocations: 84.64 kB / 1.229 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.9832, allocations: 63.02 kB / 1.229 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.9833, allocations: 45.61 kB / 1.229 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9834, allocations: 322.8 kB / 1.23 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.9835, allocations: 31.98 kB / 1.23 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.9836, allocations: 69.44 kB / 1.23 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.9838, allocations: 127.3 kB / 1.23 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.9838, allocations: 0 / 1.23 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002283/0.984, allocations: 153.5 kB / 1.23 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.984, allocations: 4 kB / 1.23 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.984, allocations: 3.938 kB / 1.23 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.9841, allocations: 7.984 kB / 1.23 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.9842, allocations: 31.98 kB / 1.23 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9843, allocations: 4 kB / 1.23 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.9843, allocations: 7.938 kB / 1.23 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.9843, allocations: 8 kB / 1.23 GB, free: 7.012 MB / 0.9512 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.0001017/0.9845, allocations: 126.6 kB / 1.23 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.9845, allocations: 4 kB / 1.23 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.9845, allocations: 16.44 kB / 1.23 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.9845, allocations: 7.938 kB / 1.23 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9846, allocations: 0 / 1.23 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.9846, allocations: 7.922 kB / 1.23 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.9848, allocations: 193.6 kB / 1.23 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9848, allocations: 0 / 1.23 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.985, allocations: 39.92 kB / 1.231 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.985, allocations: 4 kB / 1.231 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.985, allocations: 8.125 kB / 1.231 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.985, allocations: 4 kB / 1.231 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.985, allocations: 0 / 1.231 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.9854, allocations: 208.8 kB / 1.231 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.9854, allocations: 89.16 kB / 1.231 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.9855, allocations: 4 kB / 1.231 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.9856, allocations: 12 kB / 1.231 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.9856, allocations: 15.91 kB / 1.231 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.9857, allocations: 11.94 kB / 1.231 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.9857, allocations: 83.27 kB / 1.231 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9857, allocations: 3.938 kB / 1.231 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002232/0.9859, allocations: 28 kB / 1.231 GB, free: 6.07 MB / 0.9512 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.000156/0.9861, allocations: 107.3 kB / 1.231 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.9864, allocations: 117.9 kB / 1.231 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9864, allocations: 0 / 1.231 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.84e-05/0.9865, allocations: 55.91 kB / 1.231 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.9867, allocations: 12 kB / 1.231 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008981/0.9876, allocations: 0.5769 MB / 1.232 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.988, allocations: 0.6969 MB / 1.233 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.988, allocations: 19.42 kB / 1.233 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.988, allocations: 0 / 1.233 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of Templates: time 0.003299/0.9913, allocations: 1.296 MB / 1.234 GB, free: 3.121 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (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 & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) 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) Reference file matches