Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00184/0.00184, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002326/0.002326, allocations: 213.7 kB / 22.24 MB, free: 4.855 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.666/2.666, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_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.0021/0.0021, allocations: 69.98 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3001, allocations: 169.9 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002663/0.3028, allocations: 1.263 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.3051, allocations: 1.322 MB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.3051, allocations: 0 / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.3051, allocations: 0 / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008125/0.3059, allocations: 211.2 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.3061, allocations: 45.45 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.092e-05/0.3061, allocations: 15.88 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.3061, allocations: 7.969 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.3062, allocations: 4 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2478/0.554, allocations: 31.06 MB / 1.316 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.554, allocations: 0 / 1.316 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.554, allocations: 0 / 1.316 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.554, allocations: 0 / 1.316 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.5541, allocations: 15.92 kB / 1.316 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.5542, allocations: 8 kB / 1.316 GB, free: 13.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5542, allocations: 0 / 1.316 GB, free: 13.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5542, allocations: 0 / 1.316 GB, free: 13.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.5542, allocations: 4 kB / 1.316 GB, free: 13 MB / 1.014 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.0002981/0.5545, allocations: 250.4 kB / 1.316 GB, free: 12.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5545, allocations: 8.031 kB / 1.316 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.672e-05/0.5546, allocations: 106 kB / 1.316 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.5547, allocations: 80.22 kB / 1.316 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.5548, allocations: 181.8 kB / 1.316 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.5549, allocations: 154.9 kB / 1.316 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.5549, allocations: 158.9 kB / 1.317 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.502e-05/0.555, allocations: 104.9 kB / 1.317 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.555, allocations: 79.28 kB / 1.317 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.5551, allocations: 150.6 kB / 1.317 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.468e-05/0.5551, allocations: 154.5 kB / 1.317 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.5552, allocations: 154.6 kB / 1.317 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.5555, allocations: 429 kB / 1.318 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.5556, allocations: 169.1 kB / 1.318 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.5556, allocations: 84.14 kB / 1.318 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.5556, allocations: 79.22 kB / 1.318 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.5557, allocations: 109.8 kB / 1.318 GB, free: 10.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.5557, allocations: 4 kB / 1.318 GB, free: 10.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.437e-05/0.5558, allocations: 33.64 kB / 1.318 GB, free: 10.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.5559, allocations: 207.8 kB / 1.318 GB, free: 10.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.556, allocations: 101.8 kB / 1.318 GB, free: 10.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.556, allocations: 25.7 kB / 1.318 GB, free: 10.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.5561, allocations: 84.14 kB / 1.318 GB, free: 9.957 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.5561, allocations: 0 / 1.318 GB, free: 9.957 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.5561, allocations: 13.72 kB / 1.318 GB, free: 9.938 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5562, allocations: 314.8 kB / 1.319 GB, free: 9.621 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-06/0.5562, allocations: 0 / 1.319 GB, free: 9.621 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.5563, allocations: 99.67 kB / 1.319 GB, free: 9.496 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.5563, allocations: 79.28 kB / 1.319 GB, free: 9.418 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.092e-05/0.5564, allocations: 79.28 kB / 1.319 GB, free: 9.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.909e-05/0.5564, allocations: 37.58 kB / 1.319 GB, free: 9.297 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.5565, allocations: 79.28 kB / 1.319 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/0.5565, allocations: 75.36 kB / 1.319 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.935e-05/0.5566, allocations: 158.6 kB / 1.319 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.853e-05/0.5566, allocations: 79.22 kB / 1.319 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.929e-05/0.5566, allocations: 154.5 kB / 1.32 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.5568, allocations: 83.22 kB / 1.32 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.5568, allocations: 75.28 kB / 1.32 GB, free: 8.602 MB / 1.014 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.000133/0.557, allocations: 268.4 kB / 1.32 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.557, allocations: 112.9 kB / 1.32 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.5571, allocations: 108.1 kB / 1.32 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.891e-05/0.5571, allocations: 180.3 kB / 1.32 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.097e-05/0.5572, allocations: 184.2 kB / 1.321 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-05/0.5573, allocations: 176.3 kB / 1.321 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.5575, allocations: 380.2 kB / 1.321 GB, free: 7.129 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/0.5576, allocations: 104.9 kB / 1.321 GB, free: 7.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.5576, allocations: 109 kB / 1.321 GB, free: 6.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.5577, allocations: 180.2 kB / 1.321 GB, free: 6.723 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/0.5577, allocations: 184.2 kB / 1.322 GB, free: 6.535 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.341e-05/0.5578, allocations: 188.1 kB / 1.322 GB, free: 6.344 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.584e-05/0.5579, allocations: 176.3 kB / 1.322 GB, free: 6.164 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.558, allocations: 307.7 kB / 1.322 GB, free: 5.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.5581, allocations: 116.8 kB / 1.322 GB, free: 5.719 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.5582, allocations: 180.2 kB / 1.323 GB, free: 5.535 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.5583, allocations: 105 kB / 1.323 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.5584, allocations: 188.2 kB / 1.323 GB, free: 5.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.5584, allocations: 108.9 kB / 1.323 GB, free: 5.121 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.5585, allocations: 79.28 kB / 1.323 GB, free: 5.043 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.5585, allocations: 4 kB / 1.323 GB, free: 5.039 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002354/0.5587, allocations: 0 / 1.323 GB, free: 5.039 MB / 1.014 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.0004256/0.5591, allocations: 0.8087 MB / 1.324 GB, free: 4.199 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 4.552e-05/0.5592, allocations: 7.938 kB / 1.324 GB, free: 4.191 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5592, allocations: 0 / 1.324 GB, free: 4.191 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.5592, allocations: 0 / 1.324 GB, free: 4.191 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.5595, allocations: 459.7 kB / 1.324 GB, free: 3.738 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.5599, allocations: 182.6 kB / 1.324 GB, free: 3.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.56, allocations: 59.3 kB / 1.324 GB, free: 3.441 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.56, allocations: 8 kB / 1.325 GB, free: 3.434 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.56, allocations: 7.438 kB / 1.325 GB, free: 3.426 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.56, allocations: 0 / 1.325 GB, free: 3.426 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.5903, allocations: 1.839 MB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.3, allocations: 4.062 kB / 1.326 GB, free: 1.66 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.574353923089802]