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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 192.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.93/2.93, allocations: 0.4893 GB / 0.7884 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 65.98 kB / 1.145 GB, free: 30.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3342, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002289/0.3365, allocations: 1.345 MB / 1.317 GB, free: 8.359 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1747/0.5112, allocations: 148.6 MB / 1.462 GB, free: 3.207 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.5113, allocations: 0 / 1.462 GB, free: 3.207 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 5.042e-05/0.5113, allocations: 0 / 1.462 GB, free: 3.207 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.5115, allocations: 19.84 kB / 1.462 GB, free: 3.188 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.5125, allocations: 342.6 kB / 1.463 GB, free: 2.852 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.5126, allocations: 71.64 kB / 1.463 GB, free: 2.781 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.5126, allocations: 4 kB / 1.463 GB, free: 2.777 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 7.023e-05/0.5127, allocations: 35.91 kB / 1.463 GB, free: 2.742 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.5128, allocations: 31.89 kB / 1.463 GB, free: 2.711 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.5128, allocations: 8 kB / 1.463 GB, free: 2.703 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008245/0.5136, allocations: 438.6 kB / 1.463 GB, free: 2.273 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.5137, allocations: 15.97 kB / 1.463 GB, free: 2.258 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.5137, allocations: 35.84 kB / 1.463 GB, free: 2.223 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.5141, allocations: 143.6 kB / 1.463 GB, free: 2.082 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5141, allocations: 0 / 1.463 GB, free: 2.082 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5141, allocations: 4 kB / 1.463 GB, free: 2.078 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.5141, allocations: 0 / 1.463 GB, free: 2.078 MB / 1.154 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.0005002/0.5146, allocations: 321.9 kB / 1.464 GB, free: 1.734 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5146, allocations: 8.031 kB / 1.464 GB, free: 1.727 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/0.515, allocations: 40.88 kB / 1.464 GB, free: 1.688 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.5151, allocations: 110.5 kB / 1.464 GB, free: 1.555 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.5152, allocations: 11.94 kB / 1.464 GB, free: 1.543 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.5152, allocations: 11.95 kB / 1.464 GB, free: 1.531 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5154, allocations: 77.64 kB / 1.464 GB, free: 1.449 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5154, allocations: 0 / 1.464 GB, free: 1.449 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.5154, allocations: 4 kB / 1.464 GB, free: 1.445 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5154, allocations: 4 kB / 1.464 GB, free: 1.441 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.5155, allocations: 43.95 kB / 1.464 GB, free: 1.398 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.5157, allocations: 160.5 kB / 1.464 GB, free: 1.199 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.5159, allocations: 86.62 kB / 1.464 GB, free: 1.105 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.516, allocations: 28.84 kB / 1.464 GB, free: 1.074 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.5162, allocations: 27.98 kB / 1.464 GB, free: 1.047 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.5162, allocations: 30.56 kB / 1.464 GB, free: 1.008 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.5162, allocations: 0 / 1.464 GB, free: 1.008 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001232/0.5174, allocations: 487.2 kB / 1.465 GB, free: 0.5 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.5175, allocations: 55.41 kB / 1.465 GB, free: 444 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.5175, allocations: 101.8 kB / 1.465 GB, free: 332 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.5176, allocations: 29.7 kB / 1.465 GB, free: 296 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.5176, allocations: 80.52 kB / 1.465 GB, free: 212 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5177, allocations: 75.38 kB / 1.465 GB, free: 136 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.5178, allocations: 45.83 kB / 1.465 GB, free: 84 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5179, allocations: 314.8 kB / 1.466 GB, free: 15.77 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.371e-05/0.518, allocations: 35.97 kB / 1.466 GB, free: 15.73 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-05/0.5181, allocations: 70.05 kB / 1.466 GB, free: 15.65 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.5182, allocations: 119.3 kB / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5182, allocations: 0 / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000254/0.5185, allocations: 161.4 kB / 1.466 GB, free: 15.36 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5185, allocations: 9.656 kB / 1.466 GB, free: 15.35 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5185, allocations: 4 kB / 1.466 GB, free: 15.35 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5185, allocations: 128 / 1.466 GB, free: 15.35 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.5187, allocations: 39.98 kB / 1.466 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5187, allocations: 0 / 1.466 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.5188, allocations: 11.94 kB / 1.466 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.5188, allocations: 11.94 kB / 1.466 GB, free: 15.29 MB / 1.17 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.0001025/0.5189, allocations: 117.8 kB / 1.466 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.5189, allocations: 15.94 kB / 1.466 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.5189, allocations: 16.47 kB / 1.466 GB, free: 15.13 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5189, allocations: 0 / 1.466 GB, free: 15.13 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5189, allocations: 0 / 1.466 GB, free: 15.13 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.519, allocations: 7.938 kB / 1.466 GB, free: 15.12 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.5191, allocations: 164.7 kB / 1.466 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5191, allocations: 4 kB / 1.466 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.5193, allocations: 39.91 kB / 1.466 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5193, allocations: 4 kB / 1.466 GB, free: 14.87 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.5194, allocations: 7.984 kB / 1.466 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5194, allocations: 4 kB / 1.466 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5194, allocations: 0 / 1.466 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.5197, allocations: 210.6 kB / 1.467 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.5197, allocations: 15.94 kB / 1.467 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.5198, allocations: 8 kB / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5199, allocations: 7.984 kB / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.5199, allocations: 15.92 kB / 1.467 GB, free: 14.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5199, allocations: 4 kB / 1.467 GB, free: 14.59 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.52, allocations: 83.28 kB / 1.467 GB, free: 14.5 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.52, allocations: 0 / 1.467 GB, free: 14.5 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002238/0.5202, allocations: 31.98 kB / 1.467 GB, free: 14.47 MB / 1.17 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.0001384/0.5203, allocations: 103.8 kB / 1.467 GB, free: 14.36 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.5205, allocations: 91.89 kB / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5205, allocations: 96 / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.5206, allocations: 59.86 kB / 1.467 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.5209, allocations: 16.45 kB / 1.467 GB, free: 14.2 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008413/0.5217, allocations: 0.5115 MB / 1.467 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.522, allocations: 0.7047 MB / 1.468 GB, free: 12.93 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.5222, allocations: 20.64 kB / 1.468 GB, free: 12.91 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.5222, allocations: 15.44 kB / 1.468 GB, free: 12.89 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/0.5222, allocations: 0 / 1.468 GB, free: 12.89 MB / 1.17 GB Notification: Performance of Templates: time 0.003925/0.5261, allocations: 1.222 MB / 1.469 GB, free: 11.68 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.390646774321795]