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.0008387/0.0008387, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008441/0.0008441, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9027/0.9027, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.805/1.805, allocations: 389 MB / 0.633 GB, free: 12.69 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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.201e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002675/0.002697, allocations: 2.194 MB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5319/0.5346, allocations: 133.6 MB / 1.132 GB, free: 15.72 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.5347, allocations: 7.656 kB / 1.132 GB, free: 15.72 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.5349, allocations: 49.94 kB / 1.132 GB, free: 15.68 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.5352, allocations: 106.9 kB / 1.132 GB, free: 15.61 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.5357, allocations: 303.8 kB / 1.133 GB, free: 15.46 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.5361, allocations: 443.6 kB / 1.133 GB, free: 15.25 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.5362, allocations: 72.14 kB / 1.133 GB, free: 15.21 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008899/0.5371, allocations: 354.2 kB / 1.134 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.5373, allocations: 151 kB / 1.134 GB, free: 15.06 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.5374, allocations: 30.84 kB / 1.134 GB, free: 15.06 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.5377, allocations: 259.8 kB / 1.134 GB, free: 15 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.5378, allocations: 82.16 kB / 1.134 GB, free: 14.95 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.5379, allocations: 118.5 kB / 1.134 GB, free: 14.9 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.5385, allocations: 0.537 MB / 1.135 GB, free: 14.69 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5385, allocations: 1.094 kB / 1.135 GB, free: 14.69 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5385, allocations: 0 / 1.135 GB, free: 14.69 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5386, allocations: 4 kB / 1.135 GB, free: 14.68 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.0009837/0.5395, allocations: 0.629 MB / 1.135 GB, free: 14.25 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5396, allocations: 15.69 kB / 1.135 GB, free: 14.24 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.5396, allocations: 65.45 kB / 1.135 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.5414, allocations: 316 kB / 1.136 GB, free: 14.15 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.5418, allocations: 244.1 kB / 1.136 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.5418, allocations: 21.16 kB / 1.136 GB, free: 13.95 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.5419, allocations: 29.53 kB / 1.136 GB, free: 13.94 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.5428, allocations: 441.6 kB / 1.136 GB, free: 13.79 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5428, allocations: 1.438 kB / 1.136 GB, free: 13.79 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.5429, allocations: 9.062 kB / 1.136 GB, free: 13.78 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.5429, allocations: 6.562 kB / 1.136 GB, free: 13.78 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.5442, allocations: 0.5247 MB / 1.137 GB, free: 13.63 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.5462, allocations: 1.036 MB / 1.138 GB, free: 13.09 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.5475, allocations: 446.4 kB / 1.138 GB, free: 12.95 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.548, allocations: 216.5 kB / 1.139 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.548, allocations: 8.062 kB / 1.139 GB, free: 12.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.5481, allocations: 37.31 kB / 1.139 GB, free: 12.84 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.5481, allocations: 0 / 1.139 GB, free: 12.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.007707/0.5558, allocations: 1.581 MB / 1.14 GB, free: 12.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.5558, allocations: 53.94 kB / 1.14 GB, free: 12.44 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.556, allocations: 313.6 kB / 1.14 GB, free: 12.27 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.5561, allocations: 27.11 kB / 1.141 GB, free: 12.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.5562, allocations: 177.2 kB / 1.141 GB, free: 12.08 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.5562, allocations: 87.52 kB / 1.141 GB, free: 12.01 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.5564, allocations: 75.23 kB / 1.141 GB, free: 11.97 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.5564, allocations: 340.1 kB / 1.141 GB, free: 11.65 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.557, allocations: 202.8 kB / 1.141 GB, free: 11.59 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/0.5576, allocations: 368.3 kB / 1.142 GB, free: 11.35 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5587, allocations: 437.9 kB / 1.142 GB, free: 11.19 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5587, allocations: 0 / 1.142 GB, free: 11.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.003507/0.5622, allocations: 0.9038 MB / 1.143 GB, free: 10.93 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5622, allocations: 5.531 kB / 1.143 GB, free: 10.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5622, allocations: 5.688 kB / 1.143 GB, free: 10.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.5632, allocations: 273.2 kB / 1.143 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.5635, allocations: 69.98 kB / 1.143 GB, free: 10.87 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007799/0.5713, allocations: 3.854 MB / 1.147 GB, free: 8.062 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.5717, allocations: 80.36 kB / 1.147 GB, free: 8.027 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.5717, allocations: 18.44 kB / 1.147 GB, free: 8.027 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.0001497/0.5719, allocations: 144 kB / 1.147 GB, free: 7.891 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.572, allocations: 35.16 kB / 1.147 GB, free: 7.871 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/0.5756, allocations: 0.9563 MB / 1.148 GB, free: 7.598 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5756, allocations: 7.797 kB / 1.148 GB, free: 7.594 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.5756, allocations: 2.938 kB / 1.148 GB, free: 7.594 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5756, allocations: 2.094 kB / 1.148 GB, free: 7.594 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/0.5794, allocations: 1.272 MB / 1.15 GB, free: 7.035 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5794, allocations: 1.156 kB / 1.15 GB, free: 7.035 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.5796, allocations: 55.52 kB / 1.15 GB, free: 7.031 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/0.5805, allocations: 281.2 kB / 1.15 GB, free: 6.969 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.5806, allocations: 16.89 kB / 1.15 GB, free: 6.965 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007583/0.5882, allocations: 3.84 MB / 1.154 GB, free: 4.176 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5882, allocations: 9.312 kB / 1.154 GB, free: 4.168 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.5917, allocations: 0.9693 MB / 1.155 GB, free: 3.816 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.5917, allocations: 39.89 kB / 1.155 GB, free: 3.789 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.5918, allocations: 6.859 kB / 1.155 GB, free: 3.785 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.5921, allocations: 50.55 kB / 1.155 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.5922, allocations: 21.42 kB / 1.155 GB, free: 3.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.5922, allocations: 16.31 kB / 1.155 GB, free: 3.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001648/0.5924, allocations: 219.5 kB / 1.155 GB, free: 3.648 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5924, allocations: 0.8125 kB / 1.155 GB, free: 3.648 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004366/0.5928, allocations: 116.9 kB / 1.155 GB, free: 3.629 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.003733/0.5965, allocations: 1.525 MB / 1.157 GB, free: 2.742 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.5981, allocations: 0.7161 MB / 1.157 GB, free: 2.391 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5981, allocations: 0 / 1.157 GB, free: 2.391 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007982/0.5989, allocations: 0.4926 MB / 1.158 GB, free: 2.102 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.5993, allocations: 115.5 kB / 1.158 GB, free: 2.066 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.6096, allocations: 4.458 MB / 1.162 GB, free: 15.88 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.6097, allocations: 159.5 kB / 1.162 GB, free: 15.79 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.000276/0.6099, allocations: 86.16 kB / 1.162 GB, free: 15.75 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.6101, allocations: 106.7 kB / 1.163 GB, free: 15.68 MB / 1.026 GB Notification: Performance of SimCode: time 5.21e-07/0.6101, allocations: 3.938 kB / 1.163 GB, free: 15.67 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.6415, allocations: 18.17 MB / 1.18 GB, free: 9.781 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.799, allocations: 6.188 kB / 1.18 GB, free: 9.781 MB / 1.026 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 840.0] 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: 12.941080235876143]