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.0008115/0.0008115, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008043/0.0008043, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8829/0.8829, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 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 1.617/1.617, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.813e-06/1.813e-06, allocations: 0 / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.716e-05, allocations: 6.281 kB / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002421/0.002448, allocations: 2.195 MB / 0.9538 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5558/0.5583, allocations: 133.6 MB / 1.084 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.5584, allocations: 6.875 kB / 1.084 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.5586, allocations: 48.12 kB / 1.084 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.559, allocations: 112.7 kB / 1.084 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.5596, allocations: 309.5 kB / 1.085 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.5599, allocations: 442.6 kB / 1.085 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.56, allocations: 67.75 kB / 1.085 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009356/0.561, allocations: 367.2 kB / 1.086 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.5611, allocations: 148.3 kB / 1.086 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.5611, allocations: 29.16 kB / 1.086 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.5615, allocations: 266.4 kB / 1.086 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.5616, allocations: 78.06 kB / 1.086 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.208e-05/0.5617, allocations: 125.4 kB / 1.086 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.5622, allocations: 0.5352 MB / 1.087 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5622, allocations: 0 / 1.087 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5622, allocations: 0 / 1.087 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.5622, allocations: 2.906 kB / 1.087 GB, free: 40.14 MB / 0.9948 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.0007901/0.563, allocations: 0.6215 MB / 1.087 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.563, allocations: 11.12 kB / 1.087 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.5644, allocations: 291.5 kB / 1.088 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.5647, allocations: 250.4 kB / 1.088 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5647, allocations: 18.91 kB / 1.088 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.5647, allocations: 36.86 kB / 1.088 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.5655, allocations: 428.1 kB / 1.088 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5655, allocations: 0 / 1.088 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.5655, allocations: 9.188 kB / 1.088 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5655, allocations: 4.906 kB / 1.088 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.5666, allocations: 0.527 MB / 1.089 GB, free: 39.48 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.5682, allocations: 0.9519 MB / 1.09 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.5693, allocations: 444.5 kB / 1.09 GB, free: 39.17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.5697, allocations: 215.4 kB / 1.09 GB, free: 39.16 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.5698, allocations: 9.906 kB / 1.09 GB, free: 39.15 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.5698, allocations: 33.19 kB / 1.09 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.5698, allocations: 0 / 1.09 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.00684/0.5766, allocations: 1.571 MB / 1.092 GB, free: 38.95 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.5767, allocations: 53.91 kB / 1.092 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.5768, allocations: 225.3 kB / 1.092 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.5769, allocations: 34.48 kB / 1.092 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.5769, allocations: 181.2 kB / 1.092 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.577, allocations: 94.69 kB / 1.093 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/0.5771, allocations: 69.86 kB / 1.093 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.5771, allocations: 335.5 kB / 1.093 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.5776, allocations: 199.9 kB / 1.093 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.5781, allocations: 367 kB / 1.094 GB, free: 38.03 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.5791, allocations: 429.4 kB / 1.094 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5791, allocations: 0 / 1.094 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.003065/0.5821, allocations: 0.8902 MB / 1.095 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5821, allocations: 9.047 kB / 1.095 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5821, allocations: 0 / 1.095 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009263/0.5831, allocations: 281 kB / 1.095 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.5833, allocations: 70.59 kB / 1.095 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007583/0.5909, allocations: 3.809 MB / 1.099 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.5914, allocations: 66.75 kB / 1.099 GB, free: 35.19 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.5914, allocations: 24.77 kB / 1.099 GB, free: 35.18 MB / 0.9948 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.0001941/0.5916, allocations: 139.6 kB / 1.099 GB, free: 35.05 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.5917, allocations: 24.19 kB / 1.099 GB, free: 35.04 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.5951, allocations: 0.9315 MB / 1.1 GB, free: 34.78 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5951, allocations: 2.625 kB / 1.1 GB, free: 34.78 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.5951, allocations: 0 / 1.1 GB, free: 34.78 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.5951, allocations: 6.594 kB / 1.1 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.5955, allocations: 296.5 kB / 1.1 GB, free: 34.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5955, allocations: 5.859 kB / 1.1 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.5957, allocations: 56.8 kB / 1.1 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009125/0.5966, allocations: 278 kB / 1.101 GB, free: 34.51 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.5967, allocations: 14.55 kB / 1.101 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006701/0.6034, allocations: 3.809 MB / 1.104 GB, free: 31.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6034, allocations: 4.062 kB / 1.104 GB, free: 31.77 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.6067, allocations: 0.9437 MB / 1.105 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.6068, allocations: 27.88 kB / 1.105 GB, free: 31.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.6068, allocations: 14.34 kB / 1.105 GB, free: 31.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.6071, allocations: 36.92 kB / 1.105 GB, free: 31.42 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.6072, allocations: 28.97 kB / 1.105 GB, free: 31.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.6072, allocations: 20.06 kB / 1.105 GB, free: 31.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001275/0.6074, allocations: 165.8 kB / 1.106 GB, free: 31.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6074, allocations: 0 / 1.106 GB, free: 31.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000553/0.6079, allocations: 125.1 kB / 1.106 GB, free: 31.28 MB / 0.9948 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.0001952/0.6081, allocations: 122.3 kB / 1.106 GB, free: 31.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.6096, allocations: 0.7054 MB / 1.106 GB, free: 30.84 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6096, allocations: 0.9688 kB / 1.106 GB, free: 30.84 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.6103, allocations: 0.4904 MB / 1.107 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.6107, allocations: 78.05 kB / 1.107 GB, free: 30.52 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.6122, allocations: 0.6968 MB / 1.108 GB, free: 30.14 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.6123, allocations: 164 kB / 1.108 GB, free: 30.06 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.6124, allocations: 34.05 kB / 1.108 GB, free: 30.05 MB / 0.9948 GB Notification: Performance of SimCode: time 1.703e-06/0.6124, allocations: 0 / 1.108 GB, free: 30.05 MB / 0.9948 GB Notification: Performance of Templates: time 0.0109/0.6233, allocations: 7.91 MB / 1.116 GB, free: 29.45 MB / 0.9948 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: 7.655646470375359]