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.001047/0.001047, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004532/0.005579, allocations: 449.7 kB / 10.37 MB, free: 328 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.001284/0.001284, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003757/0.005041, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9869/0.9869, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09732/1.084, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.791/1.791, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4833/2.275, allocations: 123.3 MB / 0.728 GB, free: 5.836 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.703e-06/1.703e-06, allocations: 0 / 0.7293 GB, free: 4.586 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.589e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.578 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002213/0.002229, allocations: 1.425 MB / 0.7307 GB, free: 3.168 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1384/0.1406, allocations: 143.8 MB / 0.8711 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.1406, allocations: 0 / 0.8711 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.1407, allocations: 7.922 kB / 0.8711 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.1407, allocations: 15.92 kB / 0.8711 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.1414, allocations: 334.1 kB / 0.8714 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.1415, allocations: 67.77 kB / 0.8715 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.1416, allocations: 4 kB / 0.8715 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.1416, allocations: 43.89 kB / 0.8715 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.1417, allocations: 31.89 kB / 0.8716 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1417, allocations: 4 kB / 0.8716 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005687/0.1423, allocations: 382.6 kB / 0.8719 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.1423, allocations: 11.94 kB / 0.8719 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.1424, allocations: 12 kB / 0.8719 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1426, allocations: 155.5 kB / 0.8721 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.1426, allocations: 0 / 0.8721 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1426, allocations: 0 / 0.8721 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.1426, allocations: 4 kB / 0.8721 GB, free: 2.016 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.0003558/0.143, allocations: 316.2 kB / 0.8724 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.143, allocations: 11.97 kB / 0.8724 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.1433, allocations: 137.8 kB / 0.8725 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.291e-05/0.1434, allocations: 113.7 kB / 0.8727 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1434, allocations: 12.36 kB / 0.8727 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1434, allocations: 20.3 kB / 0.8727 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.1436, allocations: 196.9 kB / 0.8729 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1436, allocations: 4 kB / 0.8729 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1436, allocations: 0 / 0.8729 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1436, allocations: 3.984 kB / 0.8729 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.1436, allocations: 31.92 kB / 0.8729 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.15e-05/0.1437, allocations: 78.69 kB / 0.873 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1438, allocations: 73.3 kB / 0.8731 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.1438, allocations: 12.86 kB / 0.8731 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.1439, allocations: 28.31 kB / 0.8731 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.144, allocations: 38.5 kB / 0.8731 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.144, allocations: 0 / 0.8731 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0008571/0.1448, allocations: 0.4909 MB / 0.8736 GB, free: 300 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1448, allocations: 55.41 kB / 0.8737 GB, free: 232 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.077e-05/0.1449, allocations: 94.72 kB / 0.8738 GB, free: 124 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1449, allocations: 33.7 kB / 0.8738 GB, free: 84 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.1449, allocations: 84.45 kB / 0.8739 GB, free: 16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.145, allocations: 75.34 kB / 0.8739 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.145, allocations: 45.69 kB / 0.874 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.1451, allocations: 314.8 kB / 0.8743 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.1451, allocations: 15.98 kB / 0.8743 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.1451, allocations: 56.08 kB / 0.8743 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.738e-05/0.1452, allocations: 82.2 kB / 0.8744 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1452, allocations: 0 / 0.8744 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 9.665e-05/0.1453, allocations: 113.5 kB / 0.8745 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1453, allocations: 4 kB / 0.8745 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1453, allocations: 0 / 0.8745 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/0.1453, allocations: 4 kB / 0.8745 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.1454, allocations: 43.92 kB / 0.8746 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1454, allocations: 3.984 kB / 0.8746 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.1454, allocations: 8 kB / 0.8746 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1455, allocations: 4 kB / 0.8746 GB, free: 15.2 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.907e-05/0.1455, allocations: 124.7 kB / 0.8747 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.1455, allocations: 23.86 kB / 0.8747 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.1456, allocations: 12.47 kB / 0.8748 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1456, allocations: 0 / 0.8748 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1456, allocations: 4 kB / 0.8748 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1456, allocations: 0 / 0.8748 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.287e-05/0.1456, allocations: 85.88 kB / 0.8748 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1456, allocations: 0 / 0.8748 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1457, allocations: 43.98 kB / 0.8749 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.1458, allocations: 11.89 kB / 0.8749 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1458, allocations: 8 kB / 0.8749 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1458, allocations: 0 / 0.8749 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1458, allocations: 3.984 kB / 0.8749 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1458, allocations: 0 / 0.8749 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1459, allocations: 155.5 kB / 0.8751 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1459, allocations: 11.92 kB / 0.8751 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.146, allocations: 4.188 kB / 0.8751 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.146, allocations: 15.94 kB / 0.8751 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.146, allocations: 4 kB / 0.8751 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.095e-06/0.146, allocations: 16.84 kB / 0.8751 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.146, allocations: 3.938 kB / 0.8751 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001232/0.1461, allocations: 32 kB / 0.8751 GB, free: 14.59 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 9.634e-05/0.1462, allocations: 92.34 kB / 0.8752 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.1463, allocations: 65.08 kB / 0.8753 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1463, allocations: 4 kB / 0.8753 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.303e-05/0.1464, allocations: 48.77 kB / 0.8753 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.1465, allocations: 52.14 kB / 0.8754 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1475, allocations: 287.5 kB / 0.8757 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.1477, allocations: 71.94 kB / 0.8757 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.823e-05/0.1478, allocations: 16.64 kB / 0.8757 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.1479, allocations: 91.36 kB / 0.8758 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.1479, allocations: 0 / 0.8758 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.00299/0.1509, allocations: 1.725 MB / 0.8775 GB, free: 12.13 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9627943858504295]