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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005661/0.005661, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001509/0.001509, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.583/2.583, allocations: 469.8 MB / 0.7425 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 63.91 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.258, allocations: 159.1 MB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001887/0.26, allocations: 1.243 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2616, allocations: 1.243 MB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.2616, allocations: 3.938 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.2616, allocations: 4 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.2622, allocations: 211.3 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.206e-05/0.2623, allocations: 35.7 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.2624, allocations: 19.88 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.2624, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.2624, allocations: 7.984 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6968/0.9592, allocations: 30.89 MB / 1.253 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.9593, allocations: 0.6875 kB / 1.253 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.9593, allocations: 0.8438 kB / 1.253 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.9593, allocations: 5.906 kB / 1.253 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.9593, allocations: 10.03 kB / 1.253 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.533e-05/0.9594, allocations: 8.875 kB / 1.253 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.9594, allocations: 0 / 1.253 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9595, allocations: 0 / 1.253 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.9595, allocations: 0.75 kB / 1.253 GB, free: 31.93 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.0001881/0.9597, allocations: 325.1 kB / 1.253 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.9597, allocations: 9.219 kB / 1.253 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.9597, allocations: 113 kB / 1.253 GB, free: 31.47 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.9598, allocations: 77.44 kB / 1.254 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.852e-05/0.9599, allocations: 242.9 kB / 1.254 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.9599, allocations: 152.4 kB / 1.254 GB, free: 30.97 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.9599, allocations: 152.4 kB / 1.254 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.121e-05/0.9599, allocations: 110.5 kB / 1.254 GB, free: 30.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9599, allocations: 76.69 kB / 1.254 GB, free: 30.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.96, allocations: 153.2 kB / 1.254 GB, free: 30.49 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.96, allocations: 154.6 kB / 1.255 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.527e-05/0.96, allocations: 154.7 kB / 1.255 GB, free: 30.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.9602, allocations: 455.4 kB / 1.255 GB, free: 29.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.375e-05/0.9602, allocations: 166.5 kB / 1.255 GB, free: 29.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.17e-05/0.9602, allocations: 87.3 kB / 1.255 GB, free: 29.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.9602, allocations: 75.8 kB / 1.255 GB, free: 29.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.9602, allocations: 115.9 kB / 1.256 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.9603, allocations: 0 / 1.256 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.496e-05/0.9603, allocations: 30.91 kB / 1.256 GB, free: 29.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.9604, allocations: 206.2 kB / 1.256 GB, free: 29.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.9604, allocations: 99.14 kB / 1.256 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.9604, allocations: 29.67 kB / 1.256 GB, free: 28.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.81e-05/0.9605, allocations: 86.53 kB / 1.256 GB, free: 28.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.9605, allocations: 0 / 1.256 GB, free: 28.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.9605, allocations: 14.78 kB / 1.256 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.008e-05/0.9605, allocations: 312.5 kB / 1.256 GB, free: 28.47 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.9605, allocations: 0 / 1.256 GB, free: 28.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.9606, allocations: 21.95 kB / 1.256 GB, free: 28.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.064e-05/0.9606, allocations: 83.72 kB / 1.256 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.9606, allocations: 75.28 kB / 1.256 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.613e-05/0.9606, allocations: 41.36 kB / 1.257 GB, free: 28.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9607, allocations: 81.06 kB / 1.257 GB, free: 28.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9607, allocations: 77.17 kB / 1.257 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.9607, allocations: 152.8 kB / 1.257 GB, free: 27.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-06/0.9607, allocations: 79.61 kB / 1.257 GB, free: 27.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.9607, allocations: 163.4 kB / 1.257 GB, free: 27.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.9609, allocations: 78.77 kB / 1.257 GB, free: 27.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.9609, allocations: 76.28 kB / 1.257 GB, free: 27.59 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 4.903e-05/0.9609, allocations: 264 kB / 1.257 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.961, allocations: 108.6 kB / 1.258 GB, free: 27.22 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.961, allocations: 114.8 kB / 1.258 GB, free: 27.11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.961, allocations: 183.5 kB / 1.258 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.961, allocations: 178.1 kB / 1.258 GB, free: 26.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.9611, allocations: 181.8 kB / 1.258 GB, free: 26.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.9612, allocations: 402.4 kB / 1.259 GB, free: 26.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.9612, allocations: 105.8 kB / 1.259 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-05/0.9612, allocations: 110.9 kB / 1.259 GB, free: 25.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.9612, allocations: 183.3 kB / 1.259 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.9612, allocations: 178 kB / 1.259 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.9613, allocations: 186.2 kB / 1.259 GB, free: 25.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.627e-05/0.9613, allocations: 177.7 kB / 1.259 GB, free: 25.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.11e-05/0.9613, allocations: 308.5 kB / 1.26 GB, free: 24.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.9614, allocations: 185.9 kB / 1.26 GB, free: 24.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.9614, allocations: 186.7 kB / 1.26 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.9615, allocations: 106.4 kB / 1.26 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.9615, allocations: 185.2 kB / 1.26 GB, free: 24.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.9615, allocations: 112.6 kB / 1.26 GB, free: 24.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.746e-05/0.9616, allocations: 78.84 kB / 1.261 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9616, allocations: 0 / 1.261 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002302/0.9618, allocations: 3.344 kB / 1.261 GB, free: 24.02 MB / 0.9981 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.0001602/0.962, allocations: 0.8121 MB / 1.261 GB, free: 23.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 3.92e-05/0.962, allocations: 1.719 kB / 1.261 GB, free: 23.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.962, allocations: 0.5312 kB / 1.261 GB, free: 23.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.962, allocations: 0.9688 kB / 1.261 GB, free: 23.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.9623, allocations: 463.6 kB / 1.262 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.9625, allocations: 196.1 kB / 1.262 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.217e-05/0.9626, allocations: 0.6725 MB / 1.263 GB, free: 21.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.9627, allocations: 6.656 kB / 1.263 GB, free: 21.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.9627, allocations: 11.53 kB / 1.263 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.9627, allocations: 0 / 1.263 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.86/2.823, allocations: 1.263 MB / 1.264 GB, free: 21.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.23/24.05, allocations: 1 kB / 1.264 GB, free: 21.48 MB / 0.9981 GB (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 --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) 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) Reference file matches