Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.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.0007516/0.0007516, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.00184, allocations: 440 kB / 10.41 MB, free: 284 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.0007164/0.0007164, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001718, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9289/0.9289, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08576/1.015, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.336/2.336, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2275/2.564, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.878e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002414/0.002432, allocations: 2.341 MB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.136, allocations: 147.8 MB / 0.9655 GB, free: 11.84 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1361, allocations: 7.938 kB / 0.9655 GB, free: 11.83 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.1362, allocations: 47.47 kB / 0.9655 GB, free: 11.78 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1364, allocations: 107.1 kB / 0.9656 GB, free: 11.68 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1368, allocations: 290.8 kB / 0.9659 GB, free: 11.39 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.1371, allocations: 443.5 kB / 0.9663 GB, free: 10.96 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1373, allocations: 78.88 kB / 0.9664 GB, free: 10.88 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009367/0.1382, allocations: 443.8 kB / 0.9668 GB, free: 10.52 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1383, allocations: 151.6 kB / 0.967 GB, free: 10.38 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.1384, allocations: 32 kB / 0.967 GB, free: 10.34 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.1387, allocations: 271.5 kB / 0.9673 GB, free: 10.08 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.1388, allocations: 51.81 kB / 0.9673 GB, free: 10.03 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.1389, allocations: 87.81 kB / 0.9674 GB, free: 9.941 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.1393, allocations: 382.7 kB / 0.9678 GB, free: 9.566 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.1393, allocations: 0 / 0.9678 GB, free: 9.566 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1393, allocations: 0 / 0.9678 GB, free: 9.566 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.1393, allocations: 0 / 0.9678 GB, free: 9.566 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008327/0.1401, allocations: 0.6864 MB / 0.9684 GB, free: 8.852 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.1402, allocations: 12.03 kB / 0.9684 GB, free: 8.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.1414, allocations: 372.4 kB / 0.9688 GB, free: 8.457 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1416, allocations: 229.5 kB / 0.969 GB, free: 8.207 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1417, allocations: 24.66 kB / 0.969 GB, free: 8.184 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.1417, allocations: 28 kB / 0.9691 GB, free: 8.156 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.1421, allocations: 318.5 kB / 0.9694 GB, free: 7.836 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1421, allocations: 0 / 0.9694 GB, free: 7.836 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.1422, allocations: 16 kB / 0.9694 GB, free: 7.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1422, allocations: 7.938 kB / 0.9694 GB, free: 7.812 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.1424, allocations: 191 kB / 0.9696 GB, free: 7.625 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1436, allocations: 0.6652 MB / 0.9702 GB, free: 6.941 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.144, allocations: 212.5 kB / 0.9704 GB, free: 6.727 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.791e-05/0.1441, allocations: 72.81 kB / 0.9705 GB, free: 6.652 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1441, allocations: 4 kB / 0.9705 GB, free: 6.648 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1441, allocations: 42.56 kB / 0.9705 GB, free: 6.598 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.1441, allocations: 0 / 0.9705 GB, free: 6.598 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.003121/0.1472, allocations: 0.7441 MB / 0.9713 GB, free: 5.844 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1473, allocations: 55.41 kB / 0.9713 GB, free: 5.777 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1474, allocations: 208.9 kB / 0.9715 GB, free: 5.555 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1474, allocations: 33.7 kB / 0.9715 GB, free: 5.516 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.1475, allocations: 164.5 kB / 0.9717 GB, free: 5.352 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.1475, allocations: 91.2 kB / 0.9718 GB, free: 5.262 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1476, allocations: 69.89 kB / 0.9719 GB, free: 5.184 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.1477, allocations: 338.8 kB / 0.9722 GB, free: 4.844 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.1478, allocations: 52.52 kB / 0.9722 GB, free: 4.793 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1479, allocations: 153.8 kB / 0.9724 GB, free: 4.617 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.1482, allocations: 170 kB / 0.9725 GB, free: 4.441 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1482, allocations: 0 / 0.9725 GB, free: 4.441 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001317/0.1495, allocations: 414.8 kB / 0.9729 GB, free: 4.023 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1495, allocations: 11.98 kB / 0.9729 GB, free: 4.012 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1495, allocations: 0 / 0.9729 GB, free: 4.012 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.1505, allocations: 317.4 kB / 0.9732 GB, free: 3.695 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1507, allocations: 67.88 kB / 0.9733 GB, free: 3.629 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.1536, allocations: 2.73 MB / 0.976 GB, free: 0.7227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.1538, allocations: 47.8 kB / 0.976 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.1538, allocations: 19.95 kB / 0.976 GB, free: 0.6562 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.1539, allocations: 128.7 kB / 0.9762 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.154, allocations: 23.86 kB / 0.9762 GB, free: 0.4961 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.1554, allocations: 487.7 kB / 0.9767 GB, free: 8 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1554, allocations: 4 kB / 0.9767 GB, free: 4 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.1554, allocations: 0 / 0.9767 GB, free: 4 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1554, allocations: 3.984 kB / 0.9767 GB, free: 0 / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.1569, allocations: 0.6578 MB / 0.9773 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1569, allocations: 64 / 0.9773 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.1571, allocations: 63.88 kB / 0.9774 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.1571, allocations: 27.73 kB / 0.9774 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009177/0.1581, allocations: 313.4 kB / 0.9777 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.1581, allocations: 19.97 kB / 0.9777 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.1606, allocations: 2.727 MB / 0.9804 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1606, allocations: 4.062 kB / 0.9804 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.1619, allocations: 0.4906 MB / 0.9809 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.1619, allocations: 7.938 kB / 0.9809 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1621, allocations: 27.98 kB / 0.9809 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.1622, allocations: 23.95 kB / 0.9809 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.1622, allocations: 19.91 kB / 0.9809 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.1623, allocations: 66.78 kB / 0.981 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.1623, allocations: 0 / 0.981 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003779/0.1626, allocations: 123.8 kB / 0.9811 GB, free: 11.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.1628, allocations: 96.33 kB / 0.9812 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005255/0.1633, allocations: 463.6 kB / 0.9816 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.1633, allocations: 4.188 kB / 0.9817 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.1637, allocations: 397.3 kB / 0.982 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1641, allocations: 269.5 kB / 0.9823 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.1665, allocations: 0.5776 MB / 0.9829 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.655e-05/0.1666, allocations: 100.6 kB / 0.9829 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.1668, allocations: 66.2 kB / 0.983 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.167, allocations: 115.2 kB / 0.9831 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of SimCode: time 6.72e-07/0.167, allocations: 0 / 0.9831 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of Templates: time 0.01126/0.1783, allocations: 11.62 MB / 0.9945 GB, free: 13.51 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.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.419525562785566]