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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00114/0.00114, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001079/0.001079, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 60.95 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3492, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002663/0.3519, allocations: 1.336 MB / 1.028 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7488/1.101, allocations: 148.1 MB / 1.173 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/1.101, allocations: 0 / 1.173 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.691e-05/1.101, allocations: 2.438 kB / 1.173 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/1.101, allocations: 13.69 kB / 1.173 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/1.102, allocations: 322.1 kB / 1.173 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/1.102, allocations: 69.53 kB / 1.173 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/1.102, allocations: 8.969 kB / 1.173 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/1.102, allocations: 32.17 kB / 1.173 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/1.102, allocations: 34.83 kB / 1.173 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/1.102, allocations: 7.406 kB / 1.173 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009134/1.103, allocations: 400 kB / 1.173 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/1.103, allocations: 17.69 kB / 1.174 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/1.103, allocations: 30.06 kB / 1.174 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003529/1.104, allocations: 154.2 kB / 1.174 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.104, allocations: 0 / 1.174 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/1.104, allocations: 0 / 1.174 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.104, allocations: 1.406 kB / 1.174 GB, free: 10.9 MB / 0.8887 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.0005106/1.104, allocations: 394.4 kB / 1.174 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.104, allocations: 10.34 kB / 1.174 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/1.105, allocations: 40 kB / 1.174 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.105, allocations: 167.7 kB / 1.174 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.105, allocations: 7.594 kB / 1.174 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/1.105, allocations: 13.3 kB / 1.174 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/1.105, allocations: 74.78 kB / 1.174 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.105, allocations: 1.312 kB / 1.174 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/1.105, allocations: 9.344 kB / 1.174 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.105, allocations: 7.375 kB / 1.174 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/1.105, allocations: 53.23 kB / 1.174 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/1.106, allocations: 185.4 kB / 1.175 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/1.106, allocations: 95.23 kB / 1.175 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/1.106, allocations: 29.11 kB / 1.175 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/1.106, allocations: 181 kB / 1.175 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.106, allocations: 31.72 kB / 1.175 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/1.106, allocations: 0 / 1.175 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.001364/1.108, allocations: 0.5456 MB / 1.175 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/1.108, allocations: 54 kB / 1.176 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/1.108, allocations: 94.58 kB / 1.176 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/1.108, allocations: 32.39 kB / 1.176 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/1.108, allocations: 84.52 kB / 1.176 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/1.108, allocations: 73.28 kB / 1.176 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/1.108, allocations: 42.69 kB / 1.176 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.108, allocations: 325.3 kB / 1.176 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/1.108, allocations: 33.31 kB / 1.176 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.898e-05/1.108, allocations: 68.88 kB / 1.176 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/1.108, allocations: 115 kB / 1.176 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.108, allocations: 2.469 kB / 1.176 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002256/1.109, allocations: 164.7 kB / 1.177 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.109, allocations: 5.344 kB / 1.177 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/1.109, allocations: 3.656 kB / 1.177 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.109, allocations: 2.656 kB / 1.177 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/1.109, allocations: 41.66 kB / 1.177 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.109, allocations: 3.828 kB / 1.177 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/1.109, allocations: 6.094 kB / 1.177 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/1.109, allocations: 8.75 kB / 1.177 GB, free: 8.457 MB / 0.8887 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.695e-05/1.109, allocations: 126.7 kB / 1.177 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/1.109, allocations: 8.625 kB / 1.177 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/1.109, allocations: 17.53 kB / 1.177 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.109, allocations: 3.969 kB / 1.177 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.109, allocations: 0.875 kB / 1.177 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.109, allocations: 3.938 kB / 1.177 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/1.109, allocations: 192.5 kB / 1.177 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.109, allocations: 2.062 kB / 1.177 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/1.109, allocations: 39.39 kB / 1.177 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.109, allocations: 1.25 kB / 1.177 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.109, allocations: 1.375 kB / 1.177 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.109, allocations: 5.438 kB / 1.177 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.109, allocations: 0 / 1.177 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/1.11, allocations: 213.8 kB / 1.177 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/1.11, allocations: 95.67 kB / 1.177 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/1.11, allocations: 5.531 kB / 1.177 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/1.11, allocations: 6.125 kB / 1.177 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/1.11, allocations: 13.38 kB / 1.177 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/1.11, allocations: 13.12 kB / 1.177 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.519e-05/1.11, allocations: 77.66 kB / 1.177 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 0 / 1.177 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000233/1.11, allocations: 30.12 kB / 1.177 GB, free: 7.766 MB / 0.8887 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.0001297/1.11, allocations: 103.9 kB / 1.177 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001987/1.111, allocations: 106 kB / 1.178 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.111, allocations: 5.281 kB / 1.178 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/1.111, allocations: 58.05 kB / 1.178 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/1.111, allocations: 17.64 kB / 1.178 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007933/1.112, allocations: 0.5084 MB / 1.178 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/1.112, allocations: 0.7022 MB / 1.179 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001064/1.112, allocations: 22.45 kB / 1.179 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/1.112, allocations: 14.66 kB / 1.179 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/1.112, allocations: 0 / 1.179 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of Templates: time 0.003714/1.116, allocations: 1.126 MB / 1.18 GB, free: 6.148 MB / 0.8887 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=480 -s cvode -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