Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.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.0008323/0.0008323, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0009307/0.0009307, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8856/0.8856, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.803/1.803, allocations: 389.1 MB / 0.633 GB, free: 12.66 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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.029e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6251/0.6251, allocations: 143.6 MB / 1.14 GB, free: 10.52 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003937/0.629, allocations: 3.33 MB / 1.143 GB, free: 8.293 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.6294, allocations: 27.66 kB / 1.143 GB, free: 8.281 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.6302, allocations: 276.8 kB / 1.143 GB, free: 8.145 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.6319, allocations: 0.9502 MB / 1.144 GB, free: 7.613 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.6327, allocations: 465.8 kB / 1.145 GB, free: 7.359 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.6341, allocations: 1.153 MB / 1.146 GB, free: 6.805 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.6344, allocations: 274.7 kB / 1.146 GB, free: 6.68 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007454/0.6352, allocations: 0.5847 MB / 1.147 GB, free: 6.414 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007171/0.6359, allocations: 318 kB / 1.147 GB, free: 6.32 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.636, allocations: 40.44 kB / 1.147 GB, free: 6.32 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.637, allocations: 0.5929 MB / 1.148 GB, free: 6.098 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.6373, allocations: 177.6 kB / 1.148 GB, free: 6.012 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.6375, allocations: 185.6 kB / 1.148 GB, free: 5.934 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.6389, allocations: 0.9481 MB / 1.149 GB, free: 5.605 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6389, allocations: 1.031 kB / 1.149 GB, free: 5.605 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6389, allocations: 0 / 1.149 GB, free: 5.605 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.6389, allocations: 4 kB / 1.149 GB, free: 5.602 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001353/0.6402, allocations: 0.8091 MB / 1.15 GB, free: 5.016 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.6403, allocations: 13.62 kB / 1.15 GB, free: 5.012 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.953e-05/0.6404, allocations: 66.56 kB / 1.15 GB, free: 4.957 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000699/0.6411, allocations: 162.9 kB / 1.15 GB, free: 4.91 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.6418, allocations: 447.4 kB / 1.15 GB, free: 4.613 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.6418, allocations: 25.2 kB / 1.15 GB, free: 4.602 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.6418, allocations: 31.78 kB / 1.15 GB, free: 4.59 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.6423, allocations: 426.8 kB / 1.151 GB, free: 4.316 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.6423, allocations: 0 / 1.151 GB, free: 4.316 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.6423, allocations: 11.88 kB / 1.151 GB, free: 4.309 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.6424, allocations: 15.02 kB / 1.151 GB, free: 4.301 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.6427, allocations: 229.4 kB / 1.151 GB, free: 4.223 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.644, allocations: 0.961 MB / 1.152 GB, free: 3.621 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.6443, allocations: 209.5 kB / 1.152 GB, free: 3.527 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.6444, allocations: 105.9 kB / 1.152 GB, free: 3.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.6444, allocations: 7.219 kB / 1.152 GB, free: 3.477 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.6447, allocations: 265 kB / 1.153 GB, free: 3.266 MB / 1.01 GB Notification: Performance of pre-optimization done (n=26): time 1.814e-06/0.6447, allocations: 0 / 1.153 GB, free: 3.266 MB / 1.01 GB Notification: Performance of matching and sorting (n=29): time 0.001782/0.6465, allocations: 1.027 MB / 1.154 GB, free: 2.734 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.6465, allocations: 59.3 kB / 1.154 GB, free: 2.668 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.647, allocations: 474.9 kB / 1.154 GB, free: 2.453 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.647, allocations: 31.73 kB / 1.154 GB, free: 2.418 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.6471, allocations: 244.7 kB / 1.154 GB, free: 2.215 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.6472, allocations: 108.2 kB / 1.154 GB, free: 2.129 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/0.6473, allocations: 75.38 kB / 1.155 GB, free: 2.086 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6474, allocations: 357 kB / 1.155 GB, free: 1.754 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.6476, allocations: 128.1 kB / 1.155 GB, free: 1.707 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.6478, allocations: 184.8 kB / 1.155 GB, free: 1.605 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.6481, allocations: 314 kB / 1.155 GB, free: 1.43 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6481, allocations: 1.5 kB / 1.155 GB, free: 1.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006362/0.6487, allocations: 496.6 kB / 1.156 GB, free: 1.207 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6488, allocations: 6.031 kB / 1.156 GB, free: 1.207 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6488, allocations: 1.969 kB / 1.156 GB, free: 1.207 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.649, allocations: 86.19 kB / 1.156 GB, free: 1.176 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.6491, allocations: 62.05 kB / 1.156 GB, free: 1.172 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.6505, allocations: 1.802 MB / 1.158 GB, free: 15.56 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.6506, allocations: 9.844 kB / 1.158 GB, free: 15.55 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.6507, allocations: 13.52 kB / 1.158 GB, free: 15.55 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.6508, allocations: 192.1 kB / 1.158 GB, free: 15.4 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.6509, allocations: 46.72 kB / 1.158 GB, free: 15.38 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005955/0.6515, allocations: 421 kB / 1.158 GB, free: 15.18 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6515, allocations: 3.312 kB / 1.158 GB, free: 15.18 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6515, allocations: 1.594 kB / 1.158 GB, free: 15.18 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.6515, allocations: 1.969 kB / 1.158 GB, free: 15.18 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.6526, allocations: 0.8924 MB / 1.159 GB, free: 14.65 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6526, allocations: 0 / 1.159 GB, free: 14.65 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.6528, allocations: 62.86 kB / 1.159 GB, free: 14.65 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.653, allocations: 78.33 kB / 1.16 GB, free: 14.62 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.653, allocations: 12.83 kB / 1.16 GB, free: 14.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.654, allocations: 1.55 MB / 1.161 GB, free: 13.2 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.654, allocations: 4.453 kB / 1.161 GB, free: 13.2 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.6548, allocations: 0.5818 MB / 1.162 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.6549, allocations: 75.97 kB / 1.162 GB, free: 12.83 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.6549, allocations: 12.64 kB / 1.162 GB, free: 12.82 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.6551, allocations: 9.859 kB / 1.162 GB, free: 12.82 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.6551, allocations: 19.86 kB / 1.162 GB, free: 12.82 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.6552, allocations: 12.31 kB / 1.162 GB, free: 12.82 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002954/0.6555, allocations: 313.9 kB / 1.162 GB, free: 12.67 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.6555, allocations: 0 / 1.162 GB, free: 12.67 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003907/0.6558, allocations: 128.7 kB / 1.162 GB, free: 12.66 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001712/0.6576, allocations: 1.494 MB / 1.164 GB, free: 11.69 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.000541/0.6581, allocations: 410 kB / 1.164 GB, free: 11.47 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6581, allocations: 0 / 1.164 GB, free: 11.47 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.6583, allocations: 250.6 kB / 1.164 GB, free: 11.3 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.659, allocations: 243.4 kB / 1.164 GB, free: 11.23 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.6634, allocations: 4.111 MB / 1.168 GB, free: 8.836 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.6636, allocations: 256.2 kB / 1.169 GB, free: 8.727 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.6639, allocations: 90.59 kB / 1.169 GB, free: 8.695 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.6641, allocations: 164 kB / 1.169 GB, free: 8.578 MB / 1.026 GB Notification: Performance of SimCode: time 1.011e-06/0.6641, allocations: 0 / 1.169 GB, free: 8.578 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.6963, allocations: 14.71 MB / 1.183 GB, free: 5.496 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.598, allocations: 3.875 kB / 1.183 GB, free: 5.496 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.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.750225064344704]