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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 220.4 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.315/3.315, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003363/0.003363, allocations: 63.91 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.339, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002704/0.3417, allocations: 1.339 MB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1685/0.5102, allocations: 130 MB / 1.493 GB, free: 9.758 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.5103, allocations: 4 kB / 1.493 GB, free: 9.754 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.5103, allocations: 3.984 kB / 1.493 GB, free: 9.75 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.5104, allocations: 27.84 kB / 1.493 GB, free: 9.723 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.5115, allocations: 318.7 kB / 1.493 GB, free: 9.41 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.5116, allocations: 63.77 kB / 1.493 GB, free: 9.348 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.5116, allocations: 3.984 kB / 1.493 GB, free: 9.344 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.5117, allocations: 31.91 kB / 1.493 GB, free: 9.312 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.5118, allocations: 35.89 kB / 1.493 GB, free: 9.277 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.5118, allocations: 0 / 1.493 GB, free: 9.277 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.5126, allocations: 370.7 kB / 1.494 GB, free: 8.914 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.5127, allocations: 15.92 kB / 1.494 GB, free: 8.898 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.5128, allocations: 31.84 kB / 1.494 GB, free: 8.867 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.5131, allocations: 167.5 kB / 1.494 GB, free: 8.703 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5131, allocations: 0 / 1.494 GB, free: 8.703 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5131, allocations: 0 / 1.494 GB, free: 8.703 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.5131, allocations: 3.938 kB / 1.494 GB, free: 8.699 MB / 1.186 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.0005074/0.5137, allocations: 314 kB / 1.494 GB, free: 8.363 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5137, allocations: 12.03 kB / 1.494 GB, free: 8.352 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/0.5141, allocations: 28.91 kB / 1.494 GB, free: 8.324 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.5142, allocations: 110.5 kB / 1.494 GB, free: 8.191 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.5142, allocations: 3.938 kB / 1.494 GB, free: 8.188 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.5143, allocations: 19.95 kB / 1.494 GB, free: 8.168 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.5145, allocations: 206.2 kB / 1.495 GB, free: 7.93 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5146, allocations: 0 / 1.495 GB, free: 7.93 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5146, allocations: 0 / 1.495 GB, free: 7.93 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5146, allocations: 7.938 kB / 1.495 GB, free: 7.922 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.5147, allocations: 47.89 kB / 1.495 GB, free: 7.875 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.5149, allocations: 125.2 kB / 1.495 GB, free: 7.723 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.5151, allocations: 86.62 kB / 1.495 GB, free: 7.629 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.5151, allocations: 28.84 kB / 1.495 GB, free: 7.598 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.5153, allocations: 23.98 kB / 1.495 GB, free: 7.574 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.5153, allocations: 42.5 kB / 1.495 GB, free: 7.523 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.5153, allocations: 0 / 1.495 GB, free: 7.523 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001395/0.5167, allocations: 477.4 kB / 1.495 GB, free: 7.023 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.5168, allocations: 55.41 kB / 1.495 GB, free: 6.957 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.5169, allocations: 97.86 kB / 1.496 GB, free: 6.852 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.5169, allocations: 33.7 kB / 1.496 GB, free: 6.812 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.5169, allocations: 80.52 kB / 1.496 GB, free: 6.73 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.517, allocations: 75.36 kB / 1.496 GB, free: 6.656 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.5171, allocations: 37.72 kB / 1.496 GB, free: 6.613 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5172, allocations: 326.8 kB / 1.496 GB, free: 6.285 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.5173, allocations: 35.97 kB / 1.496 GB, free: 6.25 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.5174, allocations: 73.58 kB / 1.496 GB, free: 6.168 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.5176, allocations: 115.4 kB / 1.496 GB, free: 6.043 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5176, allocations: 4.125 kB / 1.496 GB, free: 6.039 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002609/0.5179, allocations: 161.5 kB / 1.496 GB, free: 5.875 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5179, allocations: 4 kB / 1.496 GB, free: 5.871 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5179, allocations: 7.984 kB / 1.496 GB, free: 5.863 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5179, allocations: 0 / 1.496 GB, free: 5.863 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.5181, allocations: 43.86 kB / 1.496 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5181, allocations: 4 kB / 1.496 GB, free: 5.816 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.5181, allocations: 4 kB / 1.496 GB, free: 5.812 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.5182, allocations: 7.938 kB / 1.496 GB, free: 5.805 MB / 1.186 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.00011/0.5183, allocations: 130.8 kB / 1.497 GB, free: 5.668 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.5183, allocations: 15.94 kB / 1.497 GB, free: 5.652 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.5183, allocations: 16.47 kB / 1.497 GB, free: 5.637 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.5184, allocations: 4 kB / 1.497 GB, free: 5.633 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.5184, allocations: 0 / 1.497 GB, free: 5.633 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5184, allocations: 0 / 1.497 GB, free: 5.633 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.5185, allocations: 133.2 kB / 1.497 GB, free: 5.473 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5185, allocations: 0 / 1.497 GB, free: 5.473 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.5187, allocations: 35.98 kB / 1.497 GB, free: 5.438 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5187, allocations: 0 / 1.497 GB, free: 5.438 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.5187, allocations: 4 kB / 1.497 GB, free: 5.434 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5187, allocations: 4 kB / 1.497 GB, free: 5.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5187, allocations: 4 kB / 1.497 GB, free: 5.426 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.5191, allocations: 222.5 kB / 1.497 GB, free: 5.191 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.5192, allocations: 15.94 kB / 1.497 GB, free: 5.176 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.5192, allocations: 4.312 kB / 1.497 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.5193, allocations: 4 kB / 1.497 GB, free: 5.168 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.5193, allocations: 19.97 kB / 1.497 GB, free: 5.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.5193, allocations: 4 kB / 1.497 GB, free: 5.145 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.5194, allocations: 79.28 kB / 1.497 GB, free: 5.066 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5194, allocations: 0 / 1.497 GB, free: 5.066 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002327/0.5196, allocations: 32.09 kB / 1.497 GB, free: 5.035 MB / 1.186 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.0001376/0.5198, allocations: 111.1 kB / 1.497 GB, free: 4.914 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.52, allocations: 95.89 kB / 1.497 GB, free: 4.82 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.52, allocations: 0 / 1.497 GB, free: 4.82 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.5201, allocations: 49.98 kB / 1.497 GB, free: 4.773 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.5203, allocations: 12 kB / 1.497 GB, free: 4.762 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.5212, allocations: 0.5465 MB / 1.498 GB, free: 4.184 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.691e-05/0.5213, allocations: 84 kB / 1.498 GB, free: 4.082 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.5214, allocations: 15.44 kB / 1.498 GB, free: 4.066 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/0.5214, allocations: 0 / 1.498 GB, free: 4.066 MB / 1.186 GB Notification: Performance of Templates: time 0.003453/0.5248, allocations: 1.334 MB / 1.499 GB, free: 2.73 MB / 1.186 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/jenkins1/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: 11.51050851913169]