Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.00167/0.00167, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002244/0.002244, allocations: 218.1 kB / 22.25 MB, free: 5.258 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.962/2.962, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [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.001902/0.001902, allocations: 68.03 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3169, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00225/0.3191, allocations: 1.252 MB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.3212, allocations: 1.329 MB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.3212, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.3212, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000688/0.3219, allocations: 208.3 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.322, allocations: 39.69 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.257e-05/0.322, allocations: 19.86 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.3221, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.3221, allocations: 8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2459/0.568, allocations: 31.07 MB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.568, allocations: 0 / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.568, allocations: 0 / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.5681, allocations: 0 / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.5681, allocations: 7.938 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.5682, allocations: 15.91 kB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5682, allocations: 0 / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5682, allocations: 0 / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5682, allocations: 0 / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003011/0.5685, allocations: 250.4 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5686, allocations: 16.03 kB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.426e-05/0.5686, allocations: 106 kB / 1.359 GB, free: 1.609 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.5687, allocations: 80.22 kB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.5688, allocations: 185.8 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.5689, allocations: 150.9 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.569, allocations: 150.9 kB / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.304e-05/0.569, allocations: 112.9 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.5691, allocations: 75.28 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/0.5691, allocations: 150.6 kB / 1.36 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.5692, allocations: 154.5 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.5692, allocations: 154.6 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.5695, allocations: 421 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.5696, allocations: 173.1 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.5697, allocations: 80.14 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.5697, allocations: 79.22 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.5698, allocations: 113.8 kB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5698, allocations: 0 / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.666e-05/0.5699, allocations: 29.7 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.57, allocations: 211.8 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.5701, allocations: 101.8 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5701, allocations: 25.7 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.5701, allocations: 84.14 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.5701, allocations: 0 / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.5702, allocations: 17.7 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5703, allocations: 314.8 kB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.5703, allocations: 0 / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.5704, allocations: 103.6 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.5704, allocations: 79.28 kB / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/0.5704, allocations: 75.28 kB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.058e-05/0.5705, allocations: 33.64 kB / 1.362 GB, free: 14.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.5706, allocations: 83.27 kB / 1.362 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/0.5706, allocations: 79.28 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-05/0.5707, allocations: 162.5 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.924e-05/0.5707, allocations: 79.28 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.038e-05/0.5708, allocations: 154.5 kB / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.5709, allocations: 79.28 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.5709, allocations: 79.27 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.5711, allocations: 264.3 kB / 1.363 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.5712, allocations: 116.9 kB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.5712, allocations: 104.1 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-05/0.5713, allocations: 184.2 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.392e-05/0.5714, allocations: 188.2 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.975e-05/0.5714, allocations: 176.3 kB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.5717, allocations: 376.2 kB / 1.364 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.193e-05/0.5717, allocations: 108.9 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.5718, allocations: 108.9 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.37e-05/0.5718, allocations: 176.3 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.5719, allocations: 180.2 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.413e-05/0.572, allocations: 184.3 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.726e-05/0.5721, allocations: 176.3 kB / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.5722, allocations: 303.8 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.5723, allocations: 116.9 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.5724, allocations: 180.3 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.5725, allocations: 109 kB / 1.366 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.5726, allocations: 180.4 kB / 1.366 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.5726, allocations: 112.9 kB / 1.366 GB, free: 10.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.5727, allocations: 83.27 kB / 1.366 GB, free: 10.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.5727, allocations: 0 / 1.366 GB, free: 10.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002367/0.5729, allocations: 4 kB / 1.366 GB, free: 10.04 MB / 1.061 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004488/0.5734, allocations: 0.8126 MB / 1.367 GB, free: 9.191 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.628e-05/0.5734, allocations: 0 / 1.367 GB, free: 9.191 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5734, allocations: 4 kB / 1.367 GB, free: 9.188 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.5734, allocations: 0 / 1.367 GB, free: 9.188 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.5738, allocations: 459.7 kB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.5742, allocations: 199.1 kB / 1.368 GB, free: 8.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.89e-05/0.5743, allocations: 67.22 kB / 1.368 GB, free: 8.414 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.5743, allocations: 4 kB / 1.368 GB, free: 8.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.5743, allocations: 7.438 kB / 1.368 GB, free: 8.402 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.5743, allocations: 0 / 1.368 GB, free: 8.402 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.6037, allocations: 1.845 MB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.92, allocations: 17.97 kB / 1.37 GB, free: 6.617 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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: 17.103567439015023]