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.0008358/0.0008358, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.002039, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007527/0.0007527, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.001954, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9843/0.9843, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.85/1.85, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5049/2.354, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.487e-05, allocations: 5.859 kB / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002621/0.002646, allocations: 1.425 MB / 0.731 GB, free: 3.047 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1299/0.1325, allocations: 143.8 MB / 0.8714 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.1326, allocations: 0 / 0.8714 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.1326, allocations: 0 / 0.8714 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.274e-05/0.1327, allocations: 19.84 kB / 0.8714 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007526/0.1334, allocations: 338.2 kB / 0.8718 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.1335, allocations: 59.78 kB / 0.8718 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.1336, allocations: 11.97 kB / 0.8718 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.323e-05/0.1336, allocations: 39.91 kB / 0.8719 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.1337, allocations: 27.94 kB / 0.8719 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1337, allocations: 4 kB / 0.8719 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.1343, allocations: 386.5 kB / 0.8723 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.1344, allocations: 8 kB / 0.8723 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.1344, allocations: 19.94 kB / 0.8723 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1346, allocations: 151.5 kB / 0.8724 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.1346, allocations: 0 / 0.8724 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1346, allocations: 4 kB / 0.8724 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.1347, allocations: 0 / 0.8724 GB, free: 1.883 MB / 0.8386 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.0003605/0.135, allocations: 312.2 kB / 0.8727 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.135, allocations: 20.02 kB / 0.8728 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.1354, allocations: 137.8 kB / 0.8729 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.567e-05/0.1354, allocations: 109.7 kB / 0.873 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1354, allocations: 384 / 0.873 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1355, allocations: 20.31 kB / 0.873 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1356, allocations: 204.9 kB / 0.8732 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1356, allocations: 7.969 kB / 0.8732 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1356, allocations: 0 / 0.8732 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1356, allocations: 0 / 0.8732 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.815e-05/0.1357, allocations: 27.92 kB / 0.8732 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.1358, allocations: 90.67 kB / 0.8733 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.538e-05/0.1359, allocations: 61.38 kB / 0.8734 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.1359, allocations: 16.86 kB / 0.8734 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/0.136, allocations: 31.97 kB / 0.8734 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.136, allocations: 30.56 kB / 0.8735 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.136, allocations: 0 / 0.8735 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0008725/0.1369, allocations: 0.4956 MB / 0.8739 GB, free: 168 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.1369, allocations: 55.41 kB / 0.874 GB, free: 100 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.884e-05/0.137, allocations: 110.8 kB / 0.8741 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.137, allocations: 29.64 kB / 0.8741 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.137, allocations: 88.45 kB / 0.8742 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.137, allocations: 71.38 kB / 0.8743 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1371, allocations: 37.69 kB / 0.8743 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.1371, allocations: 322.8 kB / 0.8746 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.1372, allocations: 12 kB / 0.8746 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.1372, allocations: 58.23 kB / 0.8747 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/0.1373, allocations: 82.14 kB / 0.8748 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1373, allocations: 0 / 0.8748 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001041/0.1374, allocations: 109.6 kB / 0.8749 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1374, allocations: 4 kB / 0.8749 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1374, allocations: 4 kB / 0.8749 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.1374, allocations: 0 / 0.8749 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.1375, allocations: 43.92 kB / 0.8749 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1375, allocations: 7.938 kB / 0.8749 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.1375, allocations: 4 kB / 0.8749 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1375, allocations: 8 kB / 0.8749 GB, free: 15.06 MB / 0.8542 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 5.966e-05/0.1376, allocations: 120.6 kB / 0.8751 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.1376, allocations: 19.92 kB / 0.8751 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.1377, allocations: 20.47 kB / 0.8751 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1377, allocations: 4 kB / 0.8751 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1377, allocations: 0 / 0.8751 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1377, allocations: 0 / 0.8751 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.708e-05/0.1377, allocations: 93.86 kB / 0.8752 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1377, allocations: 128 / 0.8752 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.1378, allocations: 43.92 kB / 0.8752 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.1379, allocations: 19.88 kB / 0.8753 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.1379, allocations: 0 / 0.8753 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1379, allocations: 4 kB / 0.8753 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1379, allocations: 4 kB / 0.8753 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1379, allocations: 4 kB / 0.8753 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.138, allocations: 146.7 kB / 0.8754 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.138, allocations: 7.938 kB / 0.8754 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.1381, allocations: 8 kB / 0.8754 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.1381, allocations: 15.92 kB / 0.8754 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1381, allocations: 4 kB / 0.8754 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.706e-06/0.1381, allocations: 4.859 kB / 0.8754 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1381, allocations: 0 / 0.8754 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001201/0.1382, allocations: 32 kB / 0.8755 GB, free: 14.46 MB / 0.8542 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.0001033/0.1383, allocations: 92.45 kB / 0.8756 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.839e-05/0.1384, allocations: 83.02 kB / 0.8756 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1384, allocations: 4 kB / 0.8756 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.1385, allocations: 52.7 kB / 0.8757 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.1386, allocations: 41.22 kB / 0.8757 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1396, allocations: 293.2 kB / 0.876 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/0.1397, allocations: 75.94 kB / 0.8761 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.723e-05/0.1398, allocations: 16.64 kB / 0.8761 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.1399, allocations: 83.34 kB / 0.8762 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.1399, allocations: 0 / 0.8762 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.003065/0.1429, allocations: 1.734 MB / 0.8779 GB, free: 11.98 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.074304781854153]