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.001305/0.001305, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001453/0.001453, allocations: 214.5 kB / 22.24 MB, free: 4.859 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.351/3.351, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002173/0.002173, allocations: 64.16 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.344, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003619/0.3476, allocations: 2.191 MB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.529, allocations: 133.6 MB / 1.496 GB, free: 5.27 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.5292, allocations: 7.938 kB / 1.496 GB, free: 5.262 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.5295, allocations: 47.47 kB / 1.496 GB, free: 5.215 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.53, allocations: 103.2 kB / 1.497 GB, free: 5.113 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.531, allocations: 303 kB / 1.497 GB, free: 4.816 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005922/0.5316, allocations: 431.7 kB / 1.497 GB, free: 4.391 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.5318, allocations: 77.94 kB / 1.497 GB, free: 4.312 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.5333, allocations: 287.3 kB / 1.498 GB, free: 4.055 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.5335, allocations: 167.2 kB / 1.498 GB, free: 3.891 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.5336, allocations: 36 kB / 1.498 GB, free: 3.855 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.5342, allocations: 263.6 kB / 1.498 GB, free: 3.598 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.5343, allocations: 79.73 kB / 1.498 GB, free: 3.52 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.5344, allocations: 143.3 kB / 1.498 GB, free: 3.379 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.5351, allocations: 0.4903 MB / 1.499 GB, free: 2.887 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5351, allocations: 0 / 1.499 GB, free: 2.887 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.547e-06/0.5351, allocations: 4 kB / 1.499 GB, free: 2.883 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.5351, allocations: 0 / 1.499 GB, free: 2.883 MB / 1.186 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.001472/0.5366, allocations: 0.6258 MB / 1.499 GB, free: 2.227 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.5366, allocations: 12.03 kB / 1.499 GB, free: 2.215 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.5398, allocations: 323.6 kB / 1.5 GB, free: 1.898 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.5403, allocations: 249.5 kB / 1.5 GB, free: 1.629 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.5403, allocations: 20.66 kB / 1.5 GB, free: 1.609 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.5404, allocations: 28 kB / 1.5 GB, free: 1.582 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.5418, allocations: 433.7 kB / 1.5 GB, free: 1.152 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5418, allocations: 0 / 1.5 GB, free: 1.152 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.5418, allocations: 12 kB / 1.5 GB, free: 1.141 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.5419, allocations: 11.94 kB / 1.5 GB, free: 1.129 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.5441, allocations: 0.5372 MB / 1.501 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.5472, allocations: 0.9602 MB / 1.502 GB, free: 15.59 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.5494, allocations: 442.6 kB / 1.502 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.5504, allocations: 220.8 kB / 1.503 GB, free: 14.93 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.5505, allocations: 8 kB / 1.503 GB, free: 14.93 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.5505, allocations: 34.56 kB / 1.503 GB, free: 14.88 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.5505, allocations: 0 / 1.503 GB, free: 14.88 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.01496/0.5654, allocations: 1.59 MB / 1.504 GB, free: 13.28 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.5655, allocations: 51.41 kB / 1.504 GB, free: 13.22 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.5657, allocations: 224.9 kB / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.5658, allocations: 33.7 kB / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.5659, allocations: 180.5 kB / 1.505 GB, free: 12.77 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.529e-05/0.566, allocations: 87.23 kB / 1.505 GB, free: 12.69 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.5662, allocations: 77.91 kB / 1.505 GB, free: 12.6 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5663, allocations: 330.8 kB / 1.505 GB, free: 12.27 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.5674, allocations: 204.4 kB / 1.505 GB, free: 12.07 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.5685, allocations: 369.7 kB / 1.506 GB, free: 11.66 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.5705, allocations: 438.2 kB / 1.506 GB, free: 11.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5705, allocations: 3.938 kB / 1.506 GB, free: 11.22 MB / 1.201 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006646/0.5772, allocations: 0.8934 MB / 1.507 GB, free: 10.32 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5772, allocations: 4 kB / 1.507 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5772, allocations: 0 / 1.507 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.579, allocations: 281.3 kB / 1.507 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.5795, allocations: 63.94 kB / 1.507 GB, free: 9.969 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/0.5936, allocations: 3.814 MB / 1.511 GB, free: 5.949 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/0.5944, allocations: 63.84 kB / 1.511 GB, free: 5.887 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.5945, allocations: 19.97 kB / 1.511 GB, free: 5.867 MB / 1.201 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.0002379/0.5948, allocations: 145.7 kB / 1.511 GB, free: 5.715 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/0.5948, allocations: 27.86 kB / 1.511 GB, free: 5.688 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007029/0.6019, allocations: 0.9448 MB / 1.512 GB, free: 4.734 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.6019, allocations: 4 kB / 1.512 GB, free: 4.73 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6019, allocations: 0 / 1.512 GB, free: 4.73 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6019, allocations: 0 / 1.512 GB, free: 4.73 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007329/0.6092, allocations: 1.239 MB / 1.513 GB, free: 3.441 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6092, allocations: 0 / 1.513 GB, free: 3.441 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.6097, allocations: 60.02 kB / 1.513 GB, free: 3.383 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.6115, allocations: 277.4 kB / 1.514 GB, free: 3.105 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.6115, allocations: 15.97 kB / 1.514 GB, free: 3.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/0.6255, allocations: 3.808 MB / 1.517 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6255, allocations: 4 kB / 1.517 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00681/0.6323, allocations: 0.9667 MB / 1.518 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.6324, allocations: 23.8 kB / 1.518 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.6325, allocations: 8 kB / 1.518 GB, free: 14.04 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007303/0.6332, allocations: 47.94 kB / 1.518 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.6333, allocations: 27.84 kB / 1.518 GB, free: 13.97 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.6334, allocations: 19.97 kB / 1.518 GB, free: 13.95 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001637/0.6335, allocations: 164.5 kB / 1.519 GB, free: 13.79 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6335, allocations: 0 / 1.519 GB, free: 13.79 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006018/0.6341, allocations: 119.8 kB / 1.519 GB, free: 13.68 MB / 1.217 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.0002145/0.6343, allocations: 111.2 kB / 1.519 GB, free: 13.56 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002938/0.6373, allocations: 0.7166 MB / 1.52 GB, free: 12.82 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6373, allocations: 0 / 1.52 GB, free: 12.82 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.6389, allocations: 0.4934 MB / 1.52 GB, free: 12.3 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.6394, allocations: 69.8 kB / 1.52 GB, free: 12.23 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.6425, allocations: 0.7533 MB / 1.521 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.6427, allocations: 159.8 kB / 1.521 GB, free: 11.27 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004374/0.6431, allocations: 74.2 kB / 1.521 GB, free: 11.2 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.6433, allocations: 39.34 kB / 1.521 GB, free: 11.16 MB / 1.217 GB Notification: Performance of SimCode: time 8.62e-07/0.6433, allocations: 0 / 1.521 GB, free: 11.16 MB / 1.217 GB Notification: Performance of Templates: time 0.0224/0.6657, allocations: 13.68 MB / 1.534 GB, free: 13.57 MB / 1.232 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.583142871037126]