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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007226/0.007226, allocations: 103 kB / 15.73 MB, free: 6.035 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.00141/0.00141, allocations: 190 kB / 16.67 MB, free: 5.965 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3464, allocations: 157.4 MB / 1.208 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002267/0.3487, allocations: 1.343 MB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8439/1.193, allocations: 148.1 MB / 1.354 GB, free: 13.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/1.193, allocations: 0 / 1.354 GB, free: 13.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/1.193, allocations: 9.953 kB / 1.354 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/1.193, allocations: 13.27 kB / 1.354 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/1.194, allocations: 335.2 kB / 1.354 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/1.194, allocations: 62.03 kB / 1.354 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/1.194, allocations: 7.375 kB / 1.354 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/1.194, allocations: 36.19 kB / 1.354 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.854e-05/1.194, allocations: 30.97 kB / 1.354 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/1.194, allocations: 3.5 kB / 1.354 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008189/1.195, allocations: 406.2 kB / 1.354 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/1.195, allocations: 17 kB / 1.354 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/1.195, allocations: 30.55 kB / 1.355 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003137/1.196, allocations: 157.3 kB / 1.355 GB, free: 13.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/1.196, allocations: 4 kB / 1.355 GB, free: 13.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/1.196, allocations: 0 / 1.355 GB, free: 13.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.196, allocations: 1.719 kB / 1.355 GB, free: 13.52 MB / 1.061 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.0004485/1.196, allocations: 395.6 kB / 1.355 GB, free: 13.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/1.196, allocations: 9.688 kB / 1.355 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/1.197, allocations: 31.34 kB / 1.355 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/1.197, allocations: 168.8 kB / 1.355 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/1.197, allocations: 13.94 kB / 1.355 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/1.197, allocations: 13.78 kB / 1.355 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/1.197, allocations: 72.38 kB / 1.355 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/1.197, allocations: 3.938 kB / 1.355 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/1.197, allocations: 5.125 kB / 1.355 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.197, allocations: 2.281 kB / 1.355 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/1.197, allocations: 45.45 kB / 1.355 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/1.197, allocations: 187 kB / 1.356 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/1.198, allocations: 98.55 kB / 1.356 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/1.198, allocations: 28.16 kB / 1.356 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/1.198, allocations: 177.7 kB / 1.356 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/1.198, allocations: 34.34 kB / 1.356 GB, free: 12.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/1.198, allocations: 0 / 1.356 GB, free: 12.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001474/1.199, allocations: 0.5444 MB / 1.356 GB, free: 12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.199, allocations: 52.84 kB / 1.356 GB, free: 11.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/1.2, allocations: 94.39 kB / 1.357 GB, free: 11.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/1.2, allocations: 36.3 kB / 1.357 GB, free: 11.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/1.2, allocations: 84.45 kB / 1.357 GB, free: 11.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/1.2, allocations: 68.84 kB / 1.357 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/1.2, allocations: 43.12 kB / 1.357 GB, free: 11.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.2, allocations: 324 kB / 1.357 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/1.2, allocations: 34.98 kB / 1.357 GB, free: 11.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/1.2, allocations: 70.56 kB / 1.357 GB, free: 11.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/1.2, allocations: 114.5 kB / 1.357 GB, free: 11.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/1.2, allocations: 0 / 1.357 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002479/1.201, allocations: 156.7 kB / 1.357 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/1.201, allocations: 5.188 kB / 1.357 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.201, allocations: 5.594 kB / 1.357 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.201, allocations: 2.281 kB / 1.357 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/1.201, allocations: 42.53 kB / 1.358 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.201, allocations: 2.984 kB / 1.358 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/1.201, allocations: 14.06 kB / 1.358 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/1.201, allocations: 6.719 kB / 1.358 GB, free: 11.09 MB / 1.061 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.649e-05/1.201, allocations: 127.2 kB / 1.358 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/1.201, allocations: 4.188 kB / 1.358 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/1.201, allocations: 18.78 kB / 1.358 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.201, allocations: 2.312 kB / 1.358 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.201, allocations: 0 / 1.358 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/1.201, allocations: 6.266 kB / 1.358 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/1.201, allocations: 192.4 kB / 1.358 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.201, allocations: 6.312 kB / 1.358 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/1.202, allocations: 42.31 kB / 1.358 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.202, allocations: 1.656 kB / 1.358 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/1.202, allocations: 1.891 kB / 1.358 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.202, allocations: 1.156 kB / 1.358 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.202, allocations: 0.5156 kB / 1.358 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/1.202, allocations: 215.1 kB / 1.358 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/1.202, allocations: 85.86 kB / 1.358 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/1.202, allocations: 10.61 kB / 1.358 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/1.202, allocations: 9.312 kB / 1.358 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/1.202, allocations: 14.38 kB / 1.358 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/1.202, allocations: 12.88 kB / 1.358 GB, free: 10.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.431e-05/1.202, allocations: 85.27 kB / 1.358 GB, free: 10.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.202, allocations: 0 / 1.358 GB, free: 10.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002268/1.203, allocations: 26.56 kB / 1.358 GB, free: 10.4 MB / 1.061 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.0001473/1.203, allocations: 107.7 kB / 1.358 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002212/1.203, allocations: 105.6 kB / 1.359 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.203, allocations: 1.188 kB / 1.359 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/1.203, allocations: 56.41 kB / 1.359 GB, free: 10.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/1.203, allocations: 16.98 kB / 1.359 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/1.204, allocations: 0.5041 MB / 1.359 GB, free: 9.867 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/1.204, allocations: 0.6989 MB / 1.36 GB, free: 9.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001084/1.205, allocations: 22.81 kB / 1.36 GB, free: 9.164 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/1.205, allocations: 19.16 kB / 1.36 GB, free: 9.156 MB / 1.061 GB Notification: Performance of SimCode: time 2.2e-07/1.205, allocations: 1.344 kB / 1.36 GB, free: 9.156 MB / 1.061 GB Notification: Performance of Templates: time 0.003802/1.208, allocations: 1.148 MB / 1.361 GB, free: 9.043 MB / 1.061 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches