Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_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.005028/0.005028, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001087/0.001087, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.12/2.12, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 66.45 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.255, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00196/0.257, allocations: 1.221 MB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2588, allocations: 1.251 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.2589, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.2589, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.2596, allocations: 211.2 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.938e-05/0.2597, allocations: 27.95 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.942e-05/0.2597, allocations: 15.92 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.2598, allocations: 3.984 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.2598, allocations: 11.94 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1715/0.4313, allocations: 30.9 MB / 1.12 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4313, allocations: 0 / 1.12 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.4314, allocations: 8 kB / 1.12 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.4314, allocations: 7.922 kB / 1.12 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.4314, allocations: 4 kB / 1.12 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.4316, allocations: 11.92 kB / 1.12 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4316, allocations: 0 / 1.12 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4316, allocations: 0 / 1.12 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4316, allocations: 0 / 1.12 GB, free: 2.52 MB / 0.8731 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.0003215/0.4319, allocations: 327.5 kB / 1.121 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.432, allocations: 8.031 kB / 1.121 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.432, allocations: 106 kB / 1.121 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.4321, allocations: 84.22 kB / 1.121 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.4323, allocations: 243.5 kB / 1.121 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.4323, allocations: 154.9 kB / 1.121 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.4324, allocations: 150.9 kB / 1.121 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.998e-05/0.4325, allocations: 104.9 kB / 1.121 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.4325, allocations: 75.28 kB / 1.122 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.4326, allocations: 158.6 kB / 1.122 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/0.4326, allocations: 154.5 kB / 1.122 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.4327, allocations: 150.6 kB / 1.122 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.433, allocations: 445.9 kB / 1.122 GB, free: 252 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.964e-05/0.433, allocations: 173.1 kB / 1.123 GB, free: 68 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.4331, allocations: 84.14 kB / 1.123 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.4331, allocations: 79.22 kB / 1.123 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.4332, allocations: 113.8 kB / 1.123 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4332, allocations: 0 / 1.123 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.519e-05/0.4333, allocations: 33.64 kB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007612/0.434, allocations: 207.8 kB / 1.123 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.4342, allocations: 93.86 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4342, allocations: 25.7 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.4342, allocations: 84.14 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.4342, allocations: 0 / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.4343, allocations: 17.7 kB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4344, allocations: 318.8 kB / 1.124 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.4344, allocations: 4 kB / 1.124 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.4344, allocations: 18.58 kB / 1.124 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.4345, allocations: 79.28 kB / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/0.4345, allocations: 75.28 kB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.499e-05/0.4346, allocations: 45.61 kB / 1.124 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.4346, allocations: 79.28 kB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.4346, allocations: 75.28 kB / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.775e-05/0.4347, allocations: 158.5 kB / 1.124 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.4347, allocations: 79.28 kB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.235e-05/0.4348, allocations: 154.5 kB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.435, allocations: 91.2 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.435, allocations: 75.28 kB / 1.124 GB, free: 14.01 MB / 0.8887 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.0001162/0.4351, allocations: 260.4 kB / 1.125 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.4352, allocations: 112.9 kB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.4352, allocations: 104.1 kB / 1.125 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.183e-05/0.4353, allocations: 188.2 kB / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.406e-05/0.4354, allocations: 184.2 kB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/0.4354, allocations: 176.3 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.4356, allocations: 413.1 kB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.07e-05/0.4357, allocations: 108.9 kB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.4357, allocations: 101 kB / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.148e-05/0.4358, allocations: 180.4 kB / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.4359, allocations: 180.3 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.615e-05/0.4359, allocations: 192.2 kB / 1.127 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-05/0.436, allocations: 176.3 kB / 1.127 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.4361, allocations: 307.8 kB / 1.127 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.4362, allocations: 186 kB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.4363, allocations: 184.2 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4364, allocations: 113 kB / 1.128 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.4365, allocations: 176.3 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.4365, allocations: 108.9 kB / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.4365, allocations: 79.28 kB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4366, allocations: 0 / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000234/0.4368, allocations: 4 kB / 1.128 GB, free: 10.32 MB / 0.8887 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.0003793/0.4372, allocations: 0.8087 MB / 1.129 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 4.799e-05/0.4372, allocations: 12.36 kB / 1.129 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4372, allocations: 0 / 1.129 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.4372, allocations: 0 / 1.129 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.4376, allocations: 463.7 kB / 1.129 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.438, allocations: 190.5 kB / 1.129 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.4382, allocations: 0.669 MB / 1.13 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.4382, allocations: 4 kB / 1.13 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.4383, allocations: 15.38 kB / 1.13 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of SimCode: time 3.1e-07/0.4383, allocations: 0 / 1.13 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.4553, allocations: 1.281 MB / 1.131 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.129/7.584, allocations: 8.312 kB / 1.131 GB, free: 6.801 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches