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.0007543/0.0007543, 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.0007511/0.0007511, allocations: 173.9 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.8931/0.8931, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.775/1.775, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.851e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002536/0.002565, allocations: 2.203 MB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6095/0.6121, allocations: 133.6 MB / 1.133 GB, free: 15.76 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.6123, allocations: 6.875 kB / 1.134 GB, free: 15.76 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.6125, allocations: 52.7 kB / 1.134 GB, free: 15.72 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.6129, allocations: 109.5 kB / 1.134 GB, free: 15.64 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006931/0.6136, allocations: 304.8 kB / 1.134 GB, free: 15.49 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.614, allocations: 447.1 kB / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.6142, allocations: 71.34 kB / 1.134 GB, free: 15.24 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.6152, allocations: 346.7 kB / 1.135 GB, free: 15.14 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.6154, allocations: 147.5 kB / 1.135 GB, free: 15.1 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.6154, allocations: 30.16 kB / 1.135 GB, free: 15.1 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.6159, allocations: 268.8 kB / 1.135 GB, free: 15.03 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 9.355e-05/0.616, allocations: 82.98 kB / 1.135 GB, free: 14.98 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.6161, allocations: 118 kB / 1.135 GB, free: 14.93 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.6168, allocations: 0.5338 MB / 1.136 GB, free: 14.72 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6168, allocations: 0 / 1.136 GB, free: 14.72 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6168, allocations: 0 / 1.136 GB, free: 14.72 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.6168, allocations: 0 / 1.136 GB, free: 14.72 MB / 1.01 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.0009937/0.6178, allocations: 0.6331 MB / 1.137 GB, free: 14.28 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.6178, allocations: 10.75 kB / 1.137 GB, free: 14.28 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.6195, allocations: 320.4 kB / 1.137 GB, free: 14.24 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.6198, allocations: 249.8 kB / 1.137 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.6199, allocations: 19.97 kB / 1.137 GB, free: 14.03 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.6199, allocations: 29.69 kB / 1.137 GB, free: 14.02 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008664/0.6208, allocations: 442.2 kB / 1.138 GB, free: 13.88 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6208, allocations: 0 / 1.138 GB, free: 13.88 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.6208, allocations: 10.47 kB / 1.138 GB, free: 13.87 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.6208, allocations: 10.3 kB / 1.138 GB, free: 13.86 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.622, allocations: 0.5292 MB / 1.138 GB, free: 13.71 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.6239, allocations: 0.9651 MB / 1.139 GB, free: 13.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.6251, allocations: 437.5 kB / 1.139 GB, free: 13.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.6256, allocations: 221.1 kB / 1.14 GB, free: 13.03 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.6256, allocations: 3.5 kB / 1.14 GB, free: 13.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.6256, allocations: 38.38 kB / 1.14 GB, free: 12.98 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.6256, allocations: 0 / 1.14 GB, free: 12.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.007304/0.633, allocations: 1.57 MB / 1.141 GB, free: 12.66 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.633, allocations: 58.03 kB / 1.141 GB, free: 12.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.6332, allocations: 223.7 kB / 1.142 GB, free: 12.45 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.6332, allocations: 35.78 kB / 1.142 GB, free: 12.41 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.6333, allocations: 179 kB / 1.142 GB, free: 12.25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.6334, allocations: 92.2 kB / 1.142 GB, free: 12.18 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.6335, allocations: 79.66 kB / 1.142 GB, free: 12.14 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.6336, allocations: 332.9 kB / 1.142 GB, free: 11.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/0.6342, allocations: 202.4 kB / 1.142 GB, free: 11.76 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.6348, allocations: 363.6 kB / 1.143 GB, free: 11.52 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.6358, allocations: 442 kB / 1.143 GB, free: 11.36 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6358, allocations: 0 / 1.143 GB, free: 11.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00337/0.6392, allocations: 0.8857 MB / 1.144 GB, free: 11.12 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.6392, allocations: 9.172 kB / 1.144 GB, free: 11.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.6392, allocations: 1.125 kB / 1.144 GB, free: 11.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009862/0.6402, allocations: 277.8 kB / 1.144 GB, free: 11.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.6405, allocations: 74.38 kB / 1.144 GB, free: 11.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007512/0.648, allocations: 3.807 MB / 1.148 GB, free: 8.316 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.6485, allocations: 69.94 kB / 1.148 GB, free: 8.289 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.6485, allocations: 21.92 kB / 1.148 GB, free: 8.285 MB / 1.01 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.0002003/0.6487, allocations: 144 kB / 1.148 GB, free: 8.148 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.6488, allocations: 26.98 kB / 1.148 GB, free: 8.133 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/0.6523, allocations: 0.9491 MB / 1.149 GB, free: 7.863 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6523, allocations: 3.156 kB / 1.149 GB, free: 7.863 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.6523, allocations: 0 / 1.149 GB, free: 7.863 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6523, allocations: 6.219 kB / 1.149 GB, free: 7.859 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.6561, allocations: 1.236 MB / 1.15 GB, free: 7.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6561, allocations: 3.938 kB / 1.15 GB, free: 7.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.6563, allocations: 56 kB / 1.151 GB, free: 7.336 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008909/0.6572, allocations: 277.6 kB / 1.151 GB, free: 7.277 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.6572, allocations: 20.44 kB / 1.151 GB, free: 7.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007123/0.6643, allocations: 3.804 MB / 1.155 GB, free: 4.535 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6644, allocations: 1 kB / 1.155 GB, free: 4.535 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/0.6678, allocations: 0.9627 MB / 1.155 GB, free: 4.188 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.6679, allocations: 25.75 kB / 1.155 GB, free: 4.172 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.668, allocations: 6.375 kB / 1.156 GB, free: 4.168 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.6683, allocations: 46.77 kB / 1.156 GB, free: 4.16 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.6684, allocations: 21.34 kB / 1.156 GB, free: 4.156 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.6684, allocations: 19.27 kB / 1.156 GB, free: 4.152 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000144/0.6686, allocations: 162.6 kB / 1.156 GB, free: 4.051 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6686, allocations: 1.188 kB / 1.156 GB, free: 4.051 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005707/0.6691, allocations: 121 kB / 1.156 GB, free: 4.027 MB / 1.01 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.0001893/0.6693, allocations: 120.8 kB / 1.156 GB, free: 3.926 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.6709, allocations: 0.7236 MB / 1.157 GB, free: 3.566 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6709, allocations: 0 / 1.157 GB, free: 3.566 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.6717, allocations: 499.5 kB / 1.157 GB, free: 3.281 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.6721, allocations: 84.62 kB / 1.157 GB, free: 3.254 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.6739, allocations: 0.7641 MB / 1.158 GB, free: 2.859 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.674, allocations: 158.8 kB / 1.158 GB, free: 2.777 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.6741, allocations: 35.73 kB / 1.158 GB, free: 2.77 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.6741, allocations: 0 / 1.158 GB, free: 2.77 MB / 1.01 GB Notification: Performance of Templates: time 0.01006/0.6842, allocations: 7.892 MB / 1.166 GB, free: 2.191 MB / 1.01 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: 7.677125087939203]