Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001706/0.001706, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001869/0.001869, allocations: 163.2 kB / 22.46 MB, free: 5.359 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.399/1.399, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.613/2.613, allocations: 359 MB / 0.6037 GB, free: 15.04 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9509 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.645e-05, allocations: 5.234 kB / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00358/0.003606, allocations: 2.188 MB / 0.9531 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.1717, allocations: 133.7 MB / 1.084 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.172, allocations: 7.938 kB / 1.084 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.1722, allocations: 47.45 kB / 1.084 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.1727, allocations: 103.1 kB / 1.084 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.1736, allocations: 306.8 kB / 1.084 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006102/0.1742, allocations: 447.4 kB / 1.084 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.1744, allocations: 72.33 kB / 1.085 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.1763, allocations: 368.5 kB / 1.085 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.1766, allocations: 147.5 kB / 1.085 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.5e-05/0.1766, allocations: 32 kB / 1.085 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.1774, allocations: 259.5 kB / 1.085 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1775, allocations: 83.7 kB / 1.085 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1777, allocations: 119.7 kB / 1.085 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009925/0.1787, allocations: 0.5335 MB / 1.086 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1787, allocations: 0 / 1.086 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1787, allocations: 0 / 1.086 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.1787, allocations: 0 / 1.086 GB, free: 0.8203 MB / 0.9825 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.001613/0.1803, allocations: 0.6297 MB / 1.087 GB, free: 164 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1803, allocations: 8.031 kB / 1.087 GB, free: 156 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003277/0.1836, allocations: 295.6 kB / 1.087 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.1841, allocations: 249.5 kB / 1.087 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1841, allocations: 20.66 kB / 1.087 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.1842, allocations: 24 kB / 1.087 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.1857, allocations: 433.8 kB / 1.088 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1858, allocations: 0 / 1.088 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.1858, allocations: 12 kB / 1.088 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1858, allocations: 4 kB / 1.088 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.1883, allocations: 0.5217 MB / 1.088 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.1915, allocations: 0.9531 MB / 1.089 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.1939, allocations: 450.3 kB / 1.089 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.195, allocations: 216.7 kB / 1.09 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.1951, allocations: 4 kB / 1.09 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1951, allocations: 34.56 kB / 1.09 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.664e-06/0.1951, allocations: 4 kB / 1.09 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.01714/0.2123, allocations: 1.565 MB / 1.091 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2123, allocations: 55.34 kB / 1.091 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.2126, allocations: 225.7 kB / 1.092 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.3e-05/0.2127, allocations: 33.7 kB / 1.092 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2128, allocations: 184.5 kB / 1.092 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.2129, allocations: 83.22 kB / 1.092 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.2131, allocations: 77.92 kB / 1.092 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2133, allocations: 334.8 kB / 1.092 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.2144, allocations: 200.4 kB / 1.092 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.2156, allocations: 373.6 kB / 1.093 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/0.2179, allocations: 426.9 kB / 1.093 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2179, allocations: 0 / 1.093 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007613/0.2255, allocations: 0.8967 MB / 1.094 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.2256, allocations: 4 kB / 1.094 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2256, allocations: 4 kB / 1.094 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.2276, allocations: 281.4 kB / 1.094 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.2282, allocations: 63.89 kB / 1.094 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.2442, allocations: 3.812 MB / 1.098 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000908/0.2451, allocations: 63.77 kB / 1.098 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.2452, allocations: 23.97 kB / 1.098 GB, free: 3.883 MB / 0.9981 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.0002467/0.2455, allocations: 137.8 kB / 1.098 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.2456, allocations: 27.86 kB / 1.098 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007959/0.2535, allocations: 0.9346 MB / 1.099 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.2535, allocations: 4 kB / 1.099 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2535, allocations: 0 / 1.099 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2535, allocations: 7.922 kB / 1.099 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.2541, allocations: 304.8 kB / 1.1 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2541, allocations: 0 / 1.1 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.2545, allocations: 59.89 kB / 1.1 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.2565, allocations: 273.4 kB / 1.1 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.2566, allocations: 15.97 kB / 1.1 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4581/0.7146, allocations: 3.789 MB / 1.104 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7146, allocations: 3.844 kB / 1.104 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00739/0.722, allocations: 0.9451 MB / 1.105 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.7221, allocations: 28.17 kB / 1.105 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.7222, allocations: 9.781 kB / 1.105 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.7229, allocations: 48.7 kB / 1.105 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.723, allocations: 23.05 kB / 1.105 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.7231, allocations: 15.83 kB / 1.105 GB, free: 161 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001553/0.7232, allocations: 165.3 kB / 1.105 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7232, allocations: 0 / 1.105 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006169/0.7238, allocations: 127.9 kB / 1.105 GB, free: 160.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002201/0.724, allocations: 124.8 kB / 1.105 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002837/0.7269, allocations: 0.7037 MB / 1.106 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7269, allocations: 0 / 1.106 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.7285, allocations: 0.4983 MB / 1.106 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.729, allocations: 73.05 kB / 1.106 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.7316, allocations: 0.6758 MB / 1.107 GB, free: 160 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.7317, allocations: 162.4 kB / 1.107 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00034/0.7321, allocations: 70.77 kB / 1.107 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.7322, allocations: 29.91 kB / 1.107 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.7322, allocations: 0.7812 kB / 1.107 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02166/0.7539, allocations: 13.17 MB / 1.12 GB, free: 158.5 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.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: 8.719047274440527]