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.001379/0.001379, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001656/0.001656, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.785 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.556/3.556, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002088/0.002088, allocations: 79.53 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4127, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002371/0.415, allocations: 1.331 MB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1806/0.5957, allocations: 130 MB / 1.492 GB, free: 9.699 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.5957, allocations: 3.938 kB / 1.492 GB, free: 9.695 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 4.327e-05/0.5958, allocations: 0 / 1.492 GB, free: 9.695 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.5959, allocations: 27.84 kB / 1.492 GB, free: 9.668 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.5969, allocations: 318.7 kB / 1.492 GB, free: 9.355 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.597, allocations: 71.69 kB / 1.493 GB, free: 9.285 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.597, allocations: 0 / 1.493 GB, free: 9.285 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/0.5971, allocations: 27.97 kB / 1.493 GB, free: 9.258 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.5972, allocations: 39.83 kB / 1.493 GB, free: 9.219 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.5972, allocations: 4 kB / 1.493 GB, free: 9.215 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007716/0.598, allocations: 374.7 kB / 1.493 GB, free: 8.848 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.598, allocations: 11.98 kB / 1.493 GB, free: 8.836 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.5981, allocations: 23.92 kB / 1.493 GB, free: 8.812 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.5984, allocations: 163.5 kB / 1.493 GB, free: 8.652 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5984, allocations: 0 / 1.493 GB, free: 8.652 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5984, allocations: 0 / 1.493 GB, free: 8.652 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.5984, allocations: 0 / 1.493 GB, free: 8.652 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.0004985/0.5989, allocations: 318 kB / 1.493 GB, free: 8.312 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5989, allocations: 8.031 kB / 1.493 GB, free: 8.305 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.5993, allocations: 32.91 kB / 1.493 GB, free: 8.273 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.5994, allocations: 110.5 kB / 1.494 GB, free: 8.141 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.5995, allocations: 11.94 kB / 1.494 GB, free: 8.129 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.5995, allocations: 19.95 kB / 1.494 GB, free: 8.109 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.5998, allocations: 206.1 kB / 1.494 GB, free: 7.871 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5998, allocations: 0 / 1.494 GB, free: 7.871 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.5998, allocations: 0 / 1.494 GB, free: 7.871 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5998, allocations: 0 / 1.494 GB, free: 7.871 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.5999, allocations: 55.89 kB / 1.494 GB, free: 7.816 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.6001, allocations: 125.2 kB / 1.494 GB, free: 7.664 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.6003, allocations: 90.56 kB / 1.494 GB, free: 7.566 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.6003, allocations: 28.84 kB / 1.494 GB, free: 7.535 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.6005, allocations: 19.98 kB / 1.494 GB, free: 7.516 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.6005, allocations: 34.56 kB / 1.494 GB, free: 7.473 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.6005, allocations: 4 kB / 1.494 GB, free: 7.469 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001334/0.6019, allocations: 483 kB / 1.495 GB, free: 6.965 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.6019, allocations: 51.41 kB / 1.495 GB, free: 6.902 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.602, allocations: 97.86 kB / 1.495 GB, free: 6.797 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.602, allocations: 29.7 kB / 1.495 GB, free: 6.762 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.6021, allocations: 84.52 kB / 1.495 GB, free: 6.676 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.475e-05/0.6021, allocations: 83.38 kB / 1.495 GB, free: 6.594 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.6022, allocations: 41.7 kB / 1.495 GB, free: 6.547 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6024, allocations: 318.8 kB / 1.495 GB, free: 6.227 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.6024, allocations: 39.97 kB / 1.495 GB, free: 6.188 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.6025, allocations: 73.38 kB / 1.495 GB, free: 6.105 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.6027, allocations: 111.4 kB / 1.495 GB, free: 5.984 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.6027, allocations: 0 / 1.495 GB, free: 5.984 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002334/0.6029, allocations: 157.5 kB / 1.496 GB, free: 5.824 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.603, allocations: 4 kB / 1.496 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.603, allocations: 4 kB / 1.496 GB, free: 5.816 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.603, allocations: 0 / 1.496 GB, free: 5.816 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.6032, allocations: 43.92 kB / 1.496 GB, free: 5.773 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.6032, allocations: 0 / 1.496 GB, free: 5.773 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.6032, allocations: 12.12 kB / 1.496 GB, free: 5.762 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.6033, allocations: 11.92 kB / 1.496 GB, free: 5.75 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.0001078/0.6034, allocations: 118.9 kB / 1.496 GB, free: 5.625 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.6034, allocations: 11.95 kB / 1.496 GB, free: 5.613 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.6034, allocations: 16.47 kB / 1.496 GB, free: 5.598 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.6034, allocations: 0 / 1.496 GB, free: 5.598 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6034, allocations: 4 kB / 1.496 GB, free: 5.594 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6034, allocations: 3.938 kB / 1.496 GB, free: 5.59 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.6036, allocations: 141.2 kB / 1.496 GB, free: 5.422 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6036, allocations: 0 / 1.496 GB, free: 5.422 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.6038, allocations: 35.98 kB / 1.496 GB, free: 5.387 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6038, allocations: 0 / 1.496 GB, free: 5.387 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.6038, allocations: 7.984 kB / 1.496 GB, free: 5.379 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.6038, allocations: 160 / 1.496 GB, free: 5.379 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6038, allocations: 4 kB / 1.496 GB, free: 5.375 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.6042, allocations: 215.2 kB / 1.496 GB, free: 5.148 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.6042, allocations: 23.98 kB / 1.496 GB, free: 5.125 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.6043, allocations: 0 / 1.496 GB, free: 5.125 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.6044, allocations: 15.98 kB / 1.496 GB, free: 5.109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.6044, allocations: 7.984 kB / 1.496 GB, free: 5.102 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.6044, allocations: 8 kB / 1.496 GB, free: 5.094 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.6045, allocations: 79.28 kB / 1.496 GB, free: 5.016 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6045, allocations: 0 / 1.496 GB, free: 5.016 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002234/0.6047, allocations: 35.92 kB / 1.496 GB, free: 4.98 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.0001472/0.6048, allocations: 103.2 kB / 1.497 GB, free: 4.867 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.6051, allocations: 107.9 kB / 1.497 GB, free: 4.762 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6051, allocations: 0 / 1.497 GB, free: 4.762 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.6052, allocations: 47.92 kB / 1.497 GB, free: 4.715 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.6054, allocations: 19.92 kB / 1.497 GB, free: 4.695 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.6063, allocations: 0.5137 MB / 1.497 GB, free: 4.156 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.6064, allocations: 84 kB / 1.497 GB, free: 4.055 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.6065, allocations: 20.64 kB / 1.497 GB, free: 4.035 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.6066, allocations: 19.42 kB / 1.497 GB, free: 4.016 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/0.6066, allocations: 0 / 1.497 GB, free: 4.016 MB / 1.186 GB Notification: Performance of Templates: time 0.004168/0.6108, allocations: 1.121 MB / 1.498 GB, free: 2.91 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/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: 9.736907979473472]