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.001881/0.001881, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002318/0.002318, allocations: 223.4 kB / 23 MB, free: 4.914 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 476 MB / 0.7707 GB, free: 4.793 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002137/0.002137, allocations: 68.08 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3394, allocations: 169.9 MB / 1.284 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003838/0.3432, allocations: 2.192 MB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1846/0.5278, allocations: 133.6 MB / 1.416 GB, free: 3.707 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.5281, allocations: 3.938 kB / 1.416 GB, free: 3.703 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.5284, allocations: 47.47 kB / 1.416 GB, free: 3.656 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.529, allocations: 107.2 kB / 1.417 GB, free: 3.551 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.53, allocations: 298.9 kB / 1.417 GB, free: 3.258 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006547/0.5306, allocations: 431.7 kB / 1.417 GB, free: 2.836 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.5309, allocations: 76.28 kB / 1.417 GB, free: 2.758 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.5325, allocations: 290.8 kB / 1.418 GB, free: 2.496 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.5327, allocations: 167.3 kB / 1.418 GB, free: 2.332 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.5328, allocations: 28 kB / 1.418 GB, free: 2.305 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.5334, allocations: 271.6 kB / 1.418 GB, free: 2.039 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.5335, allocations: 79.73 kB / 1.418 GB, free: 1.961 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.5337, allocations: 139.4 kB / 1.418 GB, free: 1.824 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.5344, allocations: 0.4903 MB / 1.419 GB, free: 1.332 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5344, allocations: 4 kB / 1.419 GB, free: 1.328 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5344, allocations: 0 / 1.419 GB, free: 1.328 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.5344, allocations: 0 / 1.419 GB, free: 1.328 MB / 1.107 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.001495/0.5359, allocations: 0.6414 MB / 1.419 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5359, allocations: 8.031 kB / 1.419 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/0.5388, allocations: 283.6 kB / 1.42 GB, free: 380 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.5393, allocations: 253.6 kB / 1.42 GB, free: 100 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.5393, allocations: 20.66 kB / 1.42 GB, free: 80 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.5394, allocations: 24 kB / 1.42 GB, free: 56 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.5408, allocations: 429.8 kB / 1.42 GB, free: 15.62 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5408, allocations: 7.938 kB / 1.42 GB, free: 15.61 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.5409, allocations: 8 kB / 1.42 GB, free: 15.61 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.5409, allocations: 11.94 kB / 1.42 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.5431, allocations: 0.5178 MB / 1.421 GB, free: 15.08 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00307/0.5462, allocations: 0.9677 MB / 1.422 GB, free: 14.08 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.5484, allocations: 442.4 kB / 1.422 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.5494, allocations: 216.7 kB / 1.422 GB, free: 13.43 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.5494, allocations: 4 kB / 1.422 GB, free: 13.42 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.5495, allocations: 34.56 kB / 1.422 GB, free: 13.38 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.5495, allocations: 7.938 kB / 1.422 GB, free: 13.37 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01509/0.5646, allocations: 1.571 MB / 1.424 GB, free: 11.79 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.5646, allocations: 59.39 kB / 1.424 GB, free: 11.72 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.5649, allocations: 213 kB / 1.424 GB, free: 11.5 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.565, allocations: 33.7 kB / 1.424 GB, free: 11.46 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.5652, allocations: 176.5 kB / 1.424 GB, free: 11.28 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.5653, allocations: 95.2 kB / 1.425 GB, free: 11.19 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.5654, allocations: 77.88 kB / 1.425 GB, free: 11.1 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.5656, allocations: 338.8 kB / 1.425 GB, free: 10.76 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5667, allocations: 200.4 kB / 1.425 GB, free: 10.57 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.5678, allocations: 369.8 kB / 1.426 GB, free: 10.16 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.5698, allocations: 431.8 kB / 1.426 GB, free: 9.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.5698, allocations: 3.938 kB / 1.426 GB, free: 9.727 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006709/0.5765, allocations: 0.8851 MB / 1.427 GB, free: 8.828 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5765, allocations: 4 kB / 1.427 GB, free: 8.824 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.5765, allocations: 3.938 kB / 1.427 GB, free: 8.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.5784, allocations: 281.3 kB / 1.427 GB, free: 8.539 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.5789, allocations: 67.88 kB / 1.427 GB, free: 8.473 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.5931, allocations: 3.811 MB / 1.431 GB, free: 4.457 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.594, allocations: 59.81 kB / 1.431 GB, free: 4.398 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.594, allocations: 23.97 kB / 1.431 GB, free: 4.375 MB / 1.123 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.0002525/0.5943, allocations: 149.7 kB / 1.431 GB, free: 4.219 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.5943, allocations: 23.86 kB / 1.431 GB, free: 4.195 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006842/0.6012, allocations: 0.9493 MB / 1.432 GB, free: 3.238 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6012, allocations: 0 / 1.432 GB, free: 3.238 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6012, allocations: 4 kB / 1.432 GB, free: 3.234 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.6012, allocations: 0 / 1.432 GB, free: 3.234 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/0.6017, allocations: 293 kB / 1.432 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6017, allocations: 0 / 1.432 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.6021, allocations: 63.88 kB / 1.432 GB, free: 2.855 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.6039, allocations: 273.4 kB / 1.433 GB, free: 2.582 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.604, allocations: 15.97 kB / 1.433 GB, free: 2.566 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/0.6181, allocations: 3.797 MB / 1.436 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6181, allocations: 4.031 kB / 1.436 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006769/0.6248, allocations: 0.9574 MB / 1.437 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/0.6249, allocations: 27.73 kB / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.625, allocations: 4 kB / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/0.6257, allocations: 43.95 kB / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.6258, allocations: 15.97 kB / 1.437 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.6258, allocations: 19.97 kB / 1.437 GB, free: 13.47 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001802/0.626, allocations: 168.5 kB / 1.438 GB, free: 13.31 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.626, allocations: 0 / 1.438 GB, free: 13.31 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006346/0.6266, allocations: 123.8 kB / 1.438 GB, free: 13.19 MB / 1.139 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.0002324/0.6269, allocations: 119.1 kB / 1.438 GB, free: 13.06 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002767/0.6296, allocations: 0.7156 MB / 1.438 GB, free: 12.32 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6296, allocations: 0 / 1.438 GB, free: 12.32 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.6312, allocations: 493.2 kB / 1.439 GB, free: 11.81 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.6318, allocations: 74.34 kB / 1.439 GB, free: 11.74 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.6344, allocations: 0.7159 MB / 1.44 GB, free: 10.99 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.6346, allocations: 163.7 kB / 1.44 GB, free: 10.81 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.6348, allocations: 43.34 kB / 1.44 GB, free: 10.77 MB / 1.139 GB Notification: Performance of SimCode: time 7.51e-07/0.6348, allocations: 0 / 1.44 GB, free: 10.77 MB / 1.139 GB Notification: Performance of Templates: time 0.0121/0.6469, allocations: 7.898 MB / 1.448 GB, free: 2.875 MB / 1.139 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/jenkins1/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: 13.442535425070673]