Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001877/0.001877, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002394/0.002394, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.341/3.341, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002432/0.002432, allocations: 67.55 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4285, allocations: 176.1 MB / 1.325 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002691/0.4312, allocations: 1.331 MB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1943/0.6255, allocations: 130 MB / 1.454 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.6256, allocations: 4 kB / 1.454 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 6.32e-05/0.6257, allocations: 3.938 kB / 1.454 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.6258, allocations: 11.92 kB / 1.454 GB, free: 13.96 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.6272, allocations: 330.6 kB / 1.454 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.6274, allocations: 63.77 kB / 1.454 GB, free: 13.58 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.6274, allocations: 7.984 kB / 1.454 GB, free: 13.57 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.6275, allocations: 27.98 kB / 1.454 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.6276, allocations: 31.83 kB / 1.454 GB, free: 13.51 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.6276, allocations: 7.938 kB / 1.454 GB, free: 13.5 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009132/0.6285, allocations: 366.8 kB / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.6286, allocations: 23.97 kB / 1.455 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.6287, allocations: 15.94 kB / 1.455 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.6291, allocations: 163.5 kB / 1.455 GB, free: 12.95 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6291, allocations: 3.938 kB / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6291, allocations: 0 / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.6291, allocations: 0 / 1.455 GB, free: 12.94 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.0005586/0.6296, allocations: 314 kB / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6297, allocations: 12.03 kB / 1.455 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004649/0.6301, allocations: 36.86 kB / 1.455 GB, free: 12.56 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.6303, allocations: 110.5 kB / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.6303, allocations: 11.92 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.6303, allocations: 19.88 kB / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.6306, allocations: 202.2 kB / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6306, allocations: 0 / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.6306, allocations: 4 kB / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.6307, allocations: 4 kB / 1.455 GB, free: 12.15 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.6308, allocations: 43.95 kB / 1.456 GB, free: 12.11 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.631, allocations: 129.2 kB / 1.456 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.6312, allocations: 94.56 kB / 1.456 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.6313, allocations: 24.84 kB / 1.456 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.6315, allocations: 31.98 kB / 1.456 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.6315, allocations: 34.56 kB / 1.456 GB, free: 11.75 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.6315, allocations: 0 / 1.456 GB, free: 11.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001407/0.6329, allocations: 488.4 kB / 1.456 GB, free: 11.24 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.633, allocations: 59.41 kB / 1.456 GB, free: 11.17 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.6331, allocations: 89.86 kB / 1.456 GB, free: 11.07 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.6331, allocations: 33.7 kB / 1.456 GB, free: 11.04 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.6331, allocations: 84.45 kB / 1.457 GB, free: 10.95 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-05/0.6332, allocations: 75.38 kB / 1.457 GB, free: 10.88 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.6333, allocations: 37.7 kB / 1.457 GB, free: 10.83 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6334, allocations: 322.8 kB / 1.457 GB, free: 10.51 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.6335, allocations: 35.97 kB / 1.457 GB, free: 10.47 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.6336, allocations: 69.44 kB / 1.457 GB, free: 10.39 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.6338, allocations: 119.5 kB / 1.457 GB, free: 10.27 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6338, allocations: 4 kB / 1.457 GB, free: 10.26 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002623/0.6341, allocations: 157.5 kB / 1.457 GB, free: 10.1 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6341, allocations: 8 kB / 1.457 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6341, allocations: 0 / 1.457 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6341, allocations: 0 / 1.457 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.6343, allocations: 43.92 kB / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.6343, allocations: 4 kB / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.6344, allocations: 0 / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.6344, allocations: 11.94 kB / 1.457 GB, free: 10.04 MB / 1.154 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.000121/0.6345, allocations: 132.9 kB / 1.458 GB, free: 9.898 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.6345, allocations: 11.95 kB / 1.458 GB, free: 9.887 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.6346, allocations: 20.41 kB / 1.458 GB, free: 9.863 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6346, allocations: 4 kB / 1.458 GB, free: 9.859 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6346, allocations: 0 / 1.458 GB, free: 9.859 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6346, allocations: 0 / 1.458 GB, free: 9.859 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.6347, allocations: 129.2 kB / 1.458 GB, free: 9.703 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6347, allocations: 0 / 1.458 GB, free: 9.703 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.6349, allocations: 43.92 kB / 1.458 GB, free: 9.66 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.635, allocations: 0 / 1.458 GB, free: 9.66 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.635, allocations: 7.984 kB / 1.458 GB, free: 9.652 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.635, allocations: 0 / 1.458 GB, free: 9.652 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.635, allocations: 4 kB / 1.458 GB, free: 9.648 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.6353, allocations: 204.9 kB / 1.458 GB, free: 9.43 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.6354, allocations: 15.94 kB / 1.458 GB, free: 9.414 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.6354, allocations: 4.312 kB / 1.458 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.6355, allocations: 15.98 kB / 1.458 GB, free: 9.395 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.6356, allocations: 7.984 kB / 1.458 GB, free: 9.387 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.6356, allocations: 4 kB / 1.458 GB, free: 9.383 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.6356, allocations: 83.28 kB / 1.458 GB, free: 9.301 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6356, allocations: 3.938 kB / 1.458 GB, free: 9.297 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002303/0.6359, allocations: 28.09 kB / 1.458 GB, free: 9.27 MB / 1.154 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.000162/0.636, allocations: 115.1 kB / 1.458 GB, free: 9.145 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.6362, allocations: 101.7 kB / 1.458 GB, free: 9.047 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6363, allocations: 0 / 1.458 GB, free: 9.047 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.605e-05/0.6363, allocations: 47.92 kB / 1.458 GB, free: 9 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.6366, allocations: 17.86 kB / 1.458 GB, free: 8.984 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.6377, allocations: 0.5239 MB / 1.459 GB, free: 8.438 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.551e-05/0.6378, allocations: 84 kB / 1.459 GB, free: 8.336 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.6379, allocations: 20.64 kB / 1.459 GB, free: 8.316 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.638, allocations: 15.44 kB / 1.459 GB, free: 8.301 MB / 1.154 GB Notification: Performance of SimCode: time 5.71e-07/0.638, allocations: 0 / 1.459 GB, free: 8.301 MB / 1.154 GB Notification: Performance of Templates: time 0.004433/0.6424, allocations: 1.127 MB / 1.46 GB, free: 7.191 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.829457137733698]