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: 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_10_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_10_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.001546/0.001546, allocations: 107.6 kB / 16.41 MB, free: 6.445 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.001671/0.001671, allocations: 192 kB / 17.34 MB, free: 5.703 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.552/1.552, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.697/2.697, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8765/0.8785, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002559/0.8811, allocations: 1.331 MB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1959/1.077, allocations: 148.1 MB / 1.313 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/1.077, allocations: 0 / 1.313 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/1.077, allocations: 7.984 kB / 1.313 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/1.077, allocations: 15.84 kB / 1.313 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/1.079, allocations: 338.6 kB / 1.314 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/1.079, allocations: 71.75 kB / 1.314 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/1.079, allocations: 0 / 1.314 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/1.079, allocations: 31.91 kB / 1.314 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/1.079, allocations: 31.89 kB / 1.314 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/1.079, allocations: 4 kB / 1.314 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/1.08, allocations: 410.8 kB / 1.314 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/1.08, allocations: 15.92 kB / 1.314 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/1.08, allocations: 31.91 kB / 1.314 GB, free: 12.85 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004135/1.081, allocations: 160.1 kB / 1.314 GB, free: 12.7 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.081, allocations: 0 / 1.314 GB, free: 12.7 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.947e-06/1.081, allocations: 0 / 1.314 GB, free: 12.7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.081, allocations: 3.938 kB / 1.314 GB, free: 12.7 MB / 1.045 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.0005955/1.081, allocations: 391 kB / 1.315 GB, free: 12.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.082, allocations: 8.922 kB / 1.315 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004535/1.082, allocations: 36.86 kB / 1.315 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/1.082, allocations: 172.3 kB / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/1.082, allocations: 11.94 kB / 1.315 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/1.082, allocations: 11.94 kB / 1.315 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/1.082, allocations: 81.53 kB / 1.315 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.082, allocations: 0 / 1.315 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/1.082, allocations: 4 kB / 1.315 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/1.082, allocations: 4 kB / 1.315 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/1.083, allocations: 47.89 kB / 1.315 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/1.083, allocations: 185.6 kB / 1.315 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/1.083, allocations: 86.61 kB / 1.315 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/1.083, allocations: 29.27 kB / 1.315 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/1.084, allocations: 186.1 kB / 1.315 GB, free: 11.28 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/1.084, allocations: 34.5 kB / 1.316 GB, free: 11.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/1.084, allocations: 4 kB / 1.316 GB, free: 11.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001595/1.085, allocations: 0.5409 MB / 1.316 GB, free: 10.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.085, allocations: 55.41 kB / 1.316 GB, free: 10.57 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.085, allocations: 105.8 kB / 1.316 GB, free: 10.46 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/1.085, allocations: 29.7 kB / 1.316 GB, free: 10.42 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/1.085, allocations: 80.52 kB / 1.316 GB, free: 10.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/1.086, allocations: 75.38 kB / 1.316 GB, free: 10.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/1.086, allocations: 45.56 kB / 1.316 GB, free: 10.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000221/1.086, allocations: 318.8 kB / 1.317 GB, free: 9.895 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/1.086, allocations: 31.98 kB / 1.317 GB, free: 9.863 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/1.086, allocations: 82.11 kB / 1.317 GB, free: 9.773 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/1.086, allocations: 119.3 kB / 1.317 GB, free: 9.645 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.086, allocations: 0 / 1.317 GB, free: 9.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002548/1.087, allocations: 157.5 kB / 1.317 GB, free: 9.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.087, allocations: 4 kB / 1.317 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.087, allocations: 4 kB / 1.317 GB, free: 9.477 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.087, allocations: 0 / 1.317 GB, free: 9.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/1.087, allocations: 43.92 kB / 1.317 GB, free: 9.434 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.087, allocations: 4 kB / 1.317 GB, free: 9.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/1.087, allocations: 7.938 kB / 1.317 GB, free: 9.422 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/1.087, allocations: 8 kB / 1.317 GB, free: 9.414 MB / 1.045 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.0001219/1.087, allocations: 121.8 kB / 1.317 GB, free: 9.285 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/1.087, allocations: 11.95 kB / 1.317 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/1.087, allocations: 16.44 kB / 1.317 GB, free: 9.254 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.087, allocations: 0 / 1.317 GB, free: 9.254 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.087, allocations: 3.984 kB / 1.317 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.087, allocations: 7.938 kB / 1.317 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/1.087, allocations: 189.6 kB / 1.318 GB, free: 9.008 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.087, allocations: 0 / 1.318 GB, free: 9.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/1.088, allocations: 43.97 kB / 1.318 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.088, allocations: 0 / 1.318 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/1.088, allocations: 4 kB / 1.318 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.088, allocations: 3.938 kB / 1.318 GB, free: 8.957 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.088, allocations: 0 / 1.318 GB, free: 8.957 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/1.088, allocations: 222.8 kB / 1.318 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/1.088, allocations: 93.09 kB / 1.318 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/1.088, allocations: 4.062 kB / 1.318 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/1.088, allocations: 4 kB / 1.318 GB, free: 8.605 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/1.088, allocations: 19.88 kB / 1.318 GB, free: 8.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/1.088, allocations: 7.984 kB / 1.318 GB, free: 8.578 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.084e-05/1.088, allocations: 83.28 kB / 1.318 GB, free: 8.496 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 0 / 1.318 GB, free: 8.496 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002284/1.089, allocations: 24 kB / 1.318 GB, free: 8.473 MB / 1.045 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.0001727/1.089, allocations: 111.3 kB / 1.318 GB, free: 8.352 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002533/1.089, allocations: 104.3 kB / 1.318 GB, free: 8.25 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.089, allocations: 0 / 1.318 GB, free: 8.25 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/1.089, allocations: 51.91 kB / 1.318 GB, free: 8.199 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/1.09, allocations: 20.12 kB / 1.318 GB, free: 8.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/1.09, allocations: 0.5082 MB / 1.319 GB, free: 7.648 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/1.091, allocations: 0.6969 MB / 1.319 GB, free: 6.926 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001173/1.091, allocations: 24.62 kB / 1.319 GB, free: 6.902 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/1.091, allocations: 15.44 kB / 1.319 GB, free: 6.887 MB / 1.045 GB Notification: Performance of SimCode: time 2.41e-07/1.091, allocations: 0 / 1.319 GB, free: 6.887 MB / 1.045 GB Notification: Performance of Templates: time 0.004643/1.096, allocations: 1.146 MB / 1.321 GB, free: 5.746 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile (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 & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/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