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.008179/0.008179, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001834/0.001834, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.693/2.693, allocations: 472.6 MB / 0.7453 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.907, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002316/0.9094, allocations: 1.342 MB / 1.227 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1647/1.074, allocations: 148.1 MB / 1.371 GB, free: 7.504 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/1.074, allocations: 0 / 1.371 GB, free: 7.504 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.451e-05/1.074, allocations: 7.922 kB / 1.371 GB, free: 7.496 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/1.074, allocations: 19.92 kB / 1.372 GB, free: 7.477 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/1.075, allocations: 322.6 kB / 1.372 GB, free: 7.16 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/1.076, allocations: 63.77 kB / 1.372 GB, free: 7.098 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/1.076, allocations: 4 kB / 1.372 GB, free: 7.094 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/1.076, allocations: 35.91 kB / 1.372 GB, free: 7.059 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/1.076, allocations: 35.83 kB / 1.372 GB, free: 7.023 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/1.076, allocations: 4 kB / 1.372 GB, free: 7.02 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/1.077, allocations: 402.9 kB / 1.372 GB, free: 6.625 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/1.077, allocations: 19.97 kB / 1.372 GB, free: 6.605 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/1.077, allocations: 23.86 kB / 1.372 GB, free: 6.582 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/1.077, allocations: 164.1 kB / 1.373 GB, free: 6.43 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.077, allocations: 0 / 1.373 GB, free: 6.43 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.343e-06/1.077, allocations: 0 / 1.373 GB, free: 6.43 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.077, allocations: 4 kB / 1.373 GB, free: 6.426 MB / 1.092 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.00047/1.078, allocations: 395 kB / 1.373 GB, free: 5.992 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.078, allocations: 8.031 kB / 1.373 GB, free: 5.984 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/1.078, allocations: 36.91 kB / 1.373 GB, free: 5.949 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/1.078, allocations: 168.3 kB / 1.373 GB, free: 5.746 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.078, allocations: 7.938 kB / 1.373 GB, free: 5.738 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/1.078, allocations: 11.95 kB / 1.373 GB, free: 5.727 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/1.078, allocations: 81.59 kB / 1.373 GB, free: 5.641 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/1.078, allocations: 0 / 1.373 GB, free: 5.641 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/1.078, allocations: 8 kB / 1.373 GB, free: 5.633 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.078, allocations: 0 / 1.373 GB, free: 5.633 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/1.079, allocations: 43.95 kB / 1.373 GB, free: 5.59 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/1.079, allocations: 193.5 kB / 1.373 GB, free: 5.352 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/1.079, allocations: 94.48 kB / 1.374 GB, free: 5.25 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/1.079, allocations: 40.92 kB / 1.374 GB, free: 5.207 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/1.079, allocations: 174.2 kB / 1.374 GB, free: 5 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.079, allocations: 34.56 kB / 1.374 GB, free: 4.957 MB / 1.092 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/1.079, allocations: 0 / 1.374 GB, free: 4.957 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001295/1.081, allocations: 0.5412 MB / 1.374 GB, free: 4.363 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.081, allocations: 59.33 kB / 1.374 GB, free: 4.293 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/1.081, allocations: 101.8 kB / 1.374 GB, free: 4.184 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.081, allocations: 29.7 kB / 1.374 GB, free: 4.148 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/1.081, allocations: 84.58 kB / 1.375 GB, free: 4.062 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/1.081, allocations: 75.38 kB / 1.375 GB, free: 3.988 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/1.081, allocations: 41.72 kB / 1.375 GB, free: 3.941 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.081, allocations: 322.8 kB / 1.375 GB, free: 3.617 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/1.081, allocations: 31.98 kB / 1.375 GB, free: 3.586 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/1.081, allocations: 69.62 kB / 1.375 GB, free: 3.508 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.081, allocations: 119.4 kB / 1.375 GB, free: 3.379 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.081, allocations: 0 / 1.375 GB, free: 3.379 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002165/1.082, allocations: 157.7 kB / 1.375 GB, free: 3.219 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.082, allocations: 8 kB / 1.375 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.082, allocations: 160 / 1.375 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.082, allocations: 0 / 1.375 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/1.082, allocations: 39.92 kB / 1.375 GB, free: 3.172 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.082, allocations: 7.984 kB / 1.375 GB, free: 3.164 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/1.082, allocations: 7.938 kB / 1.375 GB, free: 3.156 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/1.082, allocations: 8 kB / 1.375 GB, free: 3.148 MB / 1.092 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.894e-05/1.082, allocations: 127.2 kB / 1.376 GB, free: 3.016 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/1.082, allocations: 7.953 kB / 1.376 GB, free: 3.008 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/1.082, allocations: 24.36 kB / 1.376 GB, free: 2.984 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.082, allocations: 4 kB / 1.376 GB, free: 2.98 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.082, allocations: 0 / 1.376 GB, free: 2.98 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.082, allocations: 3.938 kB / 1.376 GB, free: 2.977 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/1.082, allocations: 193.6 kB / 1.376 GB, free: 2.738 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.082, allocations: 0 / 1.376 GB, free: 2.738 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/1.082, allocations: 31.98 kB / 1.376 GB, free: 2.707 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.082, allocations: 11.94 kB / 1.376 GB, free: 2.695 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/1.082, allocations: 4 kB / 1.376 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.082, allocations: 0 / 1.376 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.082, allocations: 0 / 1.376 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/1.083, allocations: 218.1 kB / 1.376 GB, free: 2.461 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/1.083, allocations: 89.05 kB / 1.376 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/1.083, allocations: 0 / 1.376 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/1.083, allocations: 12.05 kB / 1.376 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/1.083, allocations: 19.92 kB / 1.376 GB, free: 2.324 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/1.083, allocations: 8 kB / 1.376 GB, free: 2.316 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.259e-05/1.083, allocations: 75.28 kB / 1.376 GB, free: 2.242 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.083, allocations: 0 / 1.376 GB, free: 2.242 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002123/1.083, allocations: 32 kB / 1.376 GB, free: 2.211 MB / 1.092 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.0001417/1.083, allocations: 107.1 kB / 1.376 GB, free: 2.094 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002072/1.084, allocations: 112 kB / 1.376 GB, free: 1.984 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.084, allocations: 0 / 1.376 GB, free: 1.984 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/1.084, allocations: 59.84 kB / 1.377 GB, free: 1.926 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/1.084, allocations: 8.375 kB / 1.377 GB, free: 1.918 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/1.085, allocations: 0.5197 MB / 1.377 GB, free: 1.375 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/1.085, allocations: 0.7047 MB / 1.378 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 9.331e-05/1.085, allocations: 20.62 kB / 1.378 GB, free: 0.625 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/1.085, allocations: 15.44 kB / 1.378 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of SimCode: time 2.61e-07/1.085, allocations: 4 kB / 1.378 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of Templates: time 0.003505/1.089, allocations: 1.131 MB / 1.379 GB, free: 15.48 MB / 1.107 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