Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006694/0.006694, allocations: 98.3 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 192.6 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.647/2.647, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3159, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002692/0.3187, allocations: 1.238 MB / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.3208, allocations: 1.254 MB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.3209, allocations: 0 / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.3209, allocations: 0 / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007734/0.3217, allocations: 207.3 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.3218, allocations: 43.14 kB / 1.245 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.3219, allocations: 19.97 kB / 1.245 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.3219, allocations: 0 / 1.245 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.322, allocations: 15.88 kB / 1.245 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7796/1.102, allocations: 30.89 MB / 1.275 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/1.102, allocations: 0 / 1.275 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/1.102, allocations: 1.469 kB / 1.275 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/1.102, allocations: 0.75 kB / 1.275 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/1.102, allocations: 3.547 kB / 1.275 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/1.102, allocations: 14.52 kB / 1.275 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.102, allocations: 2.141 kB / 1.275 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/1.102, allocations: 4 kB / 1.275 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.057e-05/1.102, allocations: 0 / 1.275 GB, free: 6.785 MB / 0.9981 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.0002041/1.102, allocations: 317.2 kB / 1.275 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.102, allocations: 10.2 kB / 1.275 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/1.102, allocations: 111.3 kB / 1.275 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/1.102, allocations: 82.14 kB / 1.275 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.109e-05/1.102, allocations: 237.2 kB / 1.275 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.102, allocations: 159.9 kB / 1.276 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/1.102, allocations: 151.1 kB / 1.276 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.02e-05/1.102, allocations: 113.3 kB / 1.276 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.102, allocations: 75.28 kB / 1.276 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/1.102, allocations: 151.3 kB / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/1.102, allocations: 150.6 kB / 1.276 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/1.102, allocations: 163.2 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/1.103, allocations: 444 kB / 1.277 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.038e-05/1.103, allocations: 173.3 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/1.103, allocations: 80.14 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/1.103, allocations: 79.28 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/1.103, allocations: 110.4 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/1.103, allocations: 0 / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.212e-05/1.103, allocations: 34.39 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.103, allocations: 207.1 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/1.103, allocations: 98.14 kB / 1.278 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/1.103, allocations: 28.11 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/1.103, allocations: 84.84 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-06/1.103, allocations: 0 / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/1.103, allocations: 19.42 kB / 1.278 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.606e-05/1.103, allocations: 312.1 kB / 1.278 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/1.103, allocations: 0 / 1.278 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/1.103, allocations: 19.12 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.296e-05/1.103, allocations: 79.97 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/1.103, allocations: 81.81 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.486e-05/1.103, allocations: 37.92 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.103, allocations: 79.38 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.103, allocations: 80.38 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/1.103, allocations: 157.5 kB / 1.278 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-06/1.103, allocations: 80.11 kB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/1.103, allocations: 158.1 kB / 1.279 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/1.103, allocations: 80.16 kB / 1.279 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/1.103, allocations: 79.36 kB / 1.279 GB, free: 2.41 MB / 0.9981 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 5.876e-05/1.103, allocations: 263.8 kB / 1.279 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/1.104, allocations: 112.5 kB / 1.279 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/1.104, allocations: 107 kB / 1.279 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/1.104, allocations: 188.5 kB / 1.28 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/1.104, allocations: 179.4 kB / 1.28 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/1.104, allocations: 180.3 kB / 1.28 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/1.104, allocations: 402.5 kB / 1.28 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.104, allocations: 105.2 kB / 1.28 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/1.104, allocations: 110.5 kB / 1.28 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/1.104, allocations: 188 kB / 1.281 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/1.104, allocations: 180.7 kB / 1.281 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/1.104, allocations: 180.4 kB / 1.281 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.935e-05/1.104, allocations: 180.7 kB / 1.281 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/1.104, allocations: 306.8 kB / 1.281 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/1.104, allocations: 186.6 kB / 1.282 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/1.104, allocations: 181 kB / 1.282 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/1.104, allocations: 105.3 kB / 1.282 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/1.104, allocations: 184.1 kB / 1.282 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/1.105, allocations: 109.7 kB / 1.282 GB, free: 14.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.59e-05/1.105, allocations: 79.44 kB / 1.282 GB, free: 14.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.105, allocations: 0 / 1.282 GB, free: 14.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002515/1.105, allocations: 5.125 kB / 1.282 GB, free: 14.84 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.0004422/1.105, allocations: 0.817 MB / 1.283 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 4.059e-05/1.105, allocations: 0.75 kB / 1.283 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.105, allocations: 0 / 1.283 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/1.105, allocations: 0 / 1.283 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/1.106, allocations: 468.2 kB / 1.283 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/1.107, allocations: 186.8 kB / 1.284 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/1.107, allocations: 0.6758 MB / 1.284 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.498e-05/1.107, allocations: 0 / 1.284 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/1.107, allocations: 7.438 kB / 1.284 GB, free: 12.66 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/1.107, allocations: 0 / 1.284 GB, free: 12.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2372/1.344, allocations: 1.262 MB / 1.286 GB, free: 12.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/13.12, allocations: 10.19 kB / 1.286 GB, free: 12.23 MB / 1.014 GB (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches