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.006484/0.006484, allocations: 103.5 kB / 15.73 MB, free: 6.047 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.001558/0.001558, allocations: 188 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.117/2.117, allocations: 390.3 MB / 0.6648 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7811, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002452/0.7837, allocations: 1.231 MB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.7855, allocations: 1.25 MB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.7856, allocations: 0 / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.7856, allocations: 0.6094 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006596/0.7863, allocations: 212.8 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.7864, allocations: 44.08 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.618e-05/0.7864, allocations: 14.16 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.7865, allocations: 1.891 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.7865, allocations: 5.891 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1733/0.9598, allocations: 30.9 MB / 1.12 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.9598, allocations: 1.156 kB / 1.12 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.9598, allocations: 0 / 1.12 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.9599, allocations: 10.81 kB / 1.12 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.9599, allocations: 6.859 kB / 1.12 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.96, allocations: 6.141 kB / 1.12 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.96, allocations: 9 kB / 1.12 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9601, allocations: 0 / 1.12 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.9601, allocations: 0 / 1.12 GB, free: 5.023 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.0003053/0.9604, allocations: 318.8 kB / 1.121 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.9604, allocations: 9.281 kB / 1.121 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/0.9605, allocations: 108.1 kB / 1.121 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.9606, allocations: 77.28 kB / 1.121 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.9607, allocations: 242.1 kB / 1.121 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.9607, allocations: 155.5 kB / 1.121 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.9608, allocations: 152.5 kB / 1.121 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.81e-05/0.9609, allocations: 112.9 kB / 1.121 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.9609, allocations: 75.94 kB / 1.122 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.9609, allocations: 151.8 kB / 1.122 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.961, allocations: 154.6 kB / 1.122 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.961, allocations: 152.3 kB / 1.122 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.9613, allocations: 445.4 kB / 1.122 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.416e-05/0.9614, allocations: 171.1 kB / 1.123 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.9614, allocations: 89.08 kB / 1.123 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.9614, allocations: 79.22 kB / 1.123 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.9615, allocations: 108.3 kB / 1.123 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.9615, allocations: 0 / 1.123 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.151e-05/0.9616, allocations: 32.53 kB / 1.123 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.9617, allocations: 205.7 kB / 1.123 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.9618, allocations: 103.7 kB / 1.123 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.9618, allocations: 25.7 kB / 1.123 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.9618, allocations: 85.78 kB / 1.123 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.9619, allocations: 3.938 kB / 1.123 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.9619, allocations: 14.84 kB / 1.123 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.962, allocations: 313 kB / 1.124 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.962, allocations: 0 / 1.124 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.962, allocations: 18.88 kB / 1.124 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.9621, allocations: 81.27 kB / 1.124 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-05/0.9621, allocations: 75.28 kB / 1.124 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.412e-05/0.9622, allocations: 38.23 kB / 1.124 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.9622, allocations: 79.97 kB / 1.124 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.9622, allocations: 85.66 kB / 1.124 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.555e-05/0.9623, allocations: 151.8 kB / 1.124 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.554e-05/0.9623, allocations: 79.89 kB / 1.124 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.583e-05/0.9624, allocations: 160.3 kB / 1.124 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.9625, allocations: 79.44 kB / 1.124 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.9626, allocations: 85.19 kB / 1.124 GB, free: 0.6055 MB / 0.8731 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.0001124/0.9627, allocations: 263.5 kB / 1.125 GB, free: 348 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.9627, allocations: 112 kB / 1.125 GB, free: 232 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.9628, allocations: 114.3 kB / 1.125 GB, free: 112 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.881e-05/0.9629, allocations: 178.7 kB / 1.125 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.676e-05/0.9629, allocations: 181 kB / 1.125 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-05/0.963, allocations: 186 kB / 1.125 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.9632, allocations: 398.9 kB / 1.126 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.9632, allocations: 114.6 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.9633, allocations: 102.8 kB / 1.126 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.572e-05/0.9633, allocations: 181.9 kB / 1.126 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.9634, allocations: 182 kB / 1.126 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.647e-05/0.9635, allocations: 178.3 kB / 1.127 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.234e-05/0.9635, allocations: 184.9 kB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.9636, allocations: 310.3 kB / 1.127 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.9637, allocations: 188.2 kB / 1.127 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.9638, allocations: 179.9 kB / 1.127 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.9639, allocations: 108.7 kB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.964, allocations: 186.1 kB / 1.128 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.964, allocations: 102.8 kB / 1.128 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.9641, allocations: 78.88 kB / 1.128 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9641, allocations: 3.938 kB / 1.128 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002368/0.9643, allocations: 4.25 kB / 1.128 GB, free: 12.97 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.000354/0.9647, allocations: 0.8091 MB / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 4.676e-05/0.9647, allocations: 3.078 kB / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9648, allocations: 0 / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-06/0.9648, allocations: 3.938 kB / 1.129 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.9651, allocations: 463.9 kB / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.9655, allocations: 189.5 kB / 1.129 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.9657, allocations: 0.6726 MB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.9658, allocations: 2.094 kB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.9658, allocations: 8.812 kB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of SimCode: time 2.8e-07/0.9658, allocations: 0 / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.9857, allocations: 1.283 MB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/8.181, allocations: 2.188 kB / 1.131 GB, free: 10.32 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