Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_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.01009/0.01009, allocations: 102.5 kB / 15.73 MB, free: 6.008 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.002243/0.002243, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 68.11 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9578/0.9593, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002705/0.9621, allocations: 1.236 MB / 1.167 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.9643, allocations: 1.259 MB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.9643, allocations: 0 / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.9644, allocations: 0 / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008862/0.9652, allocations: 216.8 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.9654, allocations: 27.95 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.261e-05/0.9655, allocations: 19.92 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.9655, allocations: 4 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.9655, allocations: 4 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1797/1.145, allocations: 30.91 MB / 1.199 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/1.145, allocations: 0 / 1.199 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/1.145, allocations: 0 / 1.199 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/1.145, allocations: 7.969 kB / 1.199 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/1.145, allocations: 8 kB / 1.199 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/1.145, allocations: 4 kB / 1.199 GB, free: 4.371 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.145, allocations: 0 / 1.199 GB, free: 4.371 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/1.145, allocations: 0 / 1.199 GB, free: 4.371 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.145, allocations: 0 / 1.199 GB, free: 4.371 MB / 0.92 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.0003195/1.146, allocations: 323.6 kB / 1.199 GB, free: 4.008 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.146, allocations: 12.92 kB / 1.199 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/1.146, allocations: 110 kB / 1.199 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/1.146, allocations: 84.16 kB / 1.2 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/1.146, allocations: 243.6 kB / 1.2 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/1.146, allocations: 154.9 kB / 1.2 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/1.146, allocations: 150.9 kB / 1.2 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.975e-05/1.146, allocations: 112.9 kB / 1.2 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.146, allocations: 75.28 kB / 1.2 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/1.146, allocations: 150.6 kB / 1.2 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/1.146, allocations: 158.5 kB / 1.201 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.68e-05/1.146, allocations: 150.6 kB / 1.201 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/1.147, allocations: 453.9 kB / 1.201 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/1.147, allocations: 169.1 kB / 1.201 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/1.147, allocations: 80.14 kB / 1.201 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/1.147, allocations: 79.22 kB / 1.201 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/1.147, allocations: 109.8 kB / 1.202 GB, free: 1.629 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/1.147, allocations: 4 kB / 1.202 GB, free: 1.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.151e-05/1.147, allocations: 29.64 kB / 1.202 GB, free: 1.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/1.147, allocations: 203.8 kB / 1.202 GB, free: 1.359 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/1.147, allocations: 101.8 kB / 1.202 GB, free: 1.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/1.147, allocations: 25.7 kB / 1.202 GB, free: 1.219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/1.147, allocations: 92.06 kB / 1.202 GB, free: 1.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/1.147, allocations: 0 / 1.202 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/1.147, allocations: 17.72 kB / 1.202 GB, free: 1.102 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/1.147, allocations: 314.8 kB / 1.202 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-06/1.147, allocations: 0 / 1.202 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/1.148, allocations: 22.56 kB / 1.202 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/1.148, allocations: 75.28 kB / 1.202 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/1.148, allocations: 75.28 kB / 1.202 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.699e-05/1.148, allocations: 37.58 kB / 1.202 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/1.148, allocations: 79.28 kB / 1.203 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/1.148, allocations: 83.36 kB / 1.203 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.584e-05/1.148, allocations: 158.6 kB / 1.203 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.931e-05/1.148, allocations: 87.25 kB / 1.203 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.691e-05/1.148, allocations: 150.6 kB / 1.203 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/1.148, allocations: 83.22 kB / 1.203 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/1.148, allocations: 75.28 kB / 1.203 GB, free: 15.86 MB / 0.9356 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.0001158/1.148, allocations: 270.6 kB / 1.203 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/1.148, allocations: 116.8 kB / 1.204 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/1.148, allocations: 108.1 kB / 1.204 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.177e-05/1.148, allocations: 176.3 kB / 1.204 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-05/1.148, allocations: 180.2 kB / 1.204 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.917e-05/1.148, allocations: 180.3 kB / 1.204 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/1.149, allocations: 409.2 kB / 1.205 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.428e-05/1.149, allocations: 104.9 kB / 1.205 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/1.149, allocations: 105 kB / 1.205 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.836e-05/1.149, allocations: 184.2 kB / 1.205 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/1.149, allocations: 180.3 kB / 1.205 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.328e-05/1.149, allocations: 184.2 kB / 1.205 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.522e-05/1.149, allocations: 180.3 kB / 1.205 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/1.149, allocations: 315.8 kB / 1.206 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/1.149, allocations: 182 kB / 1.206 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/1.149, allocations: 184.2 kB / 1.206 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/1.149, allocations: 109 kB / 1.206 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/1.15, allocations: 176.3 kB / 1.206 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/1.15, allocations: 104.9 kB / 1.206 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.149e-05/1.15, allocations: 83.28 kB / 1.207 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.15, allocations: 0 / 1.207 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002593/1.15, allocations: 8 kB / 1.207 GB, free: 12.16 MB / 0.9356 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.0003748/1.15, allocations: 0.8048 MB / 1.207 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.837e-05/1.15, allocations: 7.938 kB / 1.207 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.15, allocations: 3.938 kB / 1.207 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/1.15, allocations: 4 kB / 1.207 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/1.151, allocations: 459.7 kB / 1.208 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009429/1.152, allocations: 190.3 kB / 1.208 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/1.152, allocations: 0.6729 MB / 1.209 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.125e-05/1.152, allocations: 12.36 kB / 1.209 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/1.152, allocations: 7.438 kB / 1.209 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/1.152, allocations: 0 / 1.209 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/1.174, allocations: 1.266 MB / 1.21 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/8.761, allocations: 14.08 kB / 1.21 GB, free: 8.656 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches