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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.642/2.642, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8941/0.8963, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002007/0.8983, allocations: 1.251 MB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.9001, allocations: 1.32 MB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.9001, allocations: 0.875 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.9001, allocations: 1.359 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006187/0.9007, allocations: 213.5 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.258e-05/0.9008, allocations: 30.81 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.696e-05/0.9009, allocations: 15.44 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.9009, allocations: 6.031 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.9009, allocations: 11.23 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2371/1.138, allocations: 31.04 MB / 1.305 GB, free: 7.426 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/1.138, allocations: 1.219 kB / 1.305 GB, free: 7.426 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/1.138, allocations: 3.938 kB / 1.305 GB, free: 7.422 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/1.138, allocations: 5.312 kB / 1.305 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/1.138, allocations: 11.77 kB / 1.305 GB, free: 7.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/1.138, allocations: 6.906 kB / 1.305 GB, free: 7.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.138, allocations: 3.938 kB / 1.305 GB, free: 7.406 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/1.138, allocations: 1.438 kB / 1.305 GB, free: 7.406 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.138, allocations: 0 / 1.305 GB, free: 7.406 MB / 1.014 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.0003299/1.139, allocations: 321.5 kB / 1.305 GB, free: 7.055 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/1.139, allocations: 9.875 kB / 1.305 GB, free: 7.055 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.195e-05/1.139, allocations: 107.9 kB / 1.305 GB, free: 6.941 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/1.139, allocations: 85.42 kB / 1.305 GB, free: 6.859 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/1.139, allocations: 238.3 kB / 1.305 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/1.139, allocations: 155.5 kB / 1.306 GB, free: 6.438 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/1.139, allocations: 150.9 kB / 1.306 GB, free: 6.289 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.959e-05/1.139, allocations: 110.3 kB / 1.306 GB, free: 6.176 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/1.139, allocations: 75.94 kB / 1.306 GB, free: 6.102 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/1.139, allocations: 159.9 kB / 1.306 GB, free: 5.945 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/1.139, allocations: 150.6 kB / 1.306 GB, free: 5.797 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/1.139, allocations: 152.7 kB / 1.306 GB, free: 5.648 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/1.14, allocations: 445.4 kB / 1.307 GB, free: 5.168 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.02e-05/1.14, allocations: 171.2 kB / 1.307 GB, free: 4.992 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/1.14, allocations: 80.14 kB / 1.307 GB, free: 4.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/1.14, allocations: 83.16 kB / 1.307 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/1.14, allocations: 108.7 kB / 1.307 GB, free: 4.715 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/1.14, allocations: 0 / 1.307 GB, free: 4.715 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.776e-05/1.14, allocations: 35.67 kB / 1.307 GB, free: 4.676 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.14, allocations: 209.7 kB / 1.307 GB, free: 4.441 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/1.14, allocations: 99.62 kB / 1.307 GB, free: 4.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.14, allocations: 26.92 kB / 1.307 GB, free: 4.309 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/1.14, allocations: 86.25 kB / 1.308 GB, free: 4.223 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/1.14, allocations: 0 / 1.308 GB, free: 4.223 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/1.14, allocations: 14.16 kB / 1.308 GB, free: 4.207 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.14, allocations: 312.8 kB / 1.308 GB, free: 3.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-06/1.14, allocations: 0 / 1.308 GB, free: 3.895 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/1.14, allocations: 27.28 kB / 1.308 GB, free: 3.863 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/1.14, allocations: 76.41 kB / 1.308 GB, free: 3.789 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.626e-05/1.14, allocations: 75.28 kB / 1.308 GB, free: 3.715 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.756e-05/1.14, allocations: 37.78 kB / 1.308 GB, free: 3.676 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/1.141, allocations: 80.62 kB / 1.308 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/1.141, allocations: 81.34 kB / 1.308 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-05/1.141, allocations: 164.9 kB / 1.308 GB, free: 3.363 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-05/1.141, allocations: 75.8 kB / 1.308 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.765e-05/1.141, allocations: 156.8 kB / 1.309 GB, free: 3.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/1.141, allocations: 78.27 kB / 1.309 GB, free: 3.062 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/1.141, allocations: 76.84 kB / 1.309 GB, free: 2.988 MB / 1.014 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.0001277/1.141, allocations: 267.9 kB / 1.309 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/1.141, allocations: 111.7 kB / 1.309 GB, free: 2.605 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/1.141, allocations: 106.1 kB / 1.309 GB, free: 2.496 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.926e-05/1.141, allocations: 186.4 kB / 1.309 GB, free: 2.309 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.794e-05/1.141, allocations: 178.2 kB / 1.31 GB, free: 2.129 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.992e-05/1.141, allocations: 186.2 kB / 1.31 GB, free: 1.941 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/1.142, allocations: 406.3 kB / 1.31 GB, free: 1.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.075e-05/1.142, allocations: 105.5 kB / 1.31 GB, free: 1.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/1.142, allocations: 111.2 kB / 1.31 GB, free: 1.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.794e-05/1.142, allocations: 182 kB / 1.311 GB, free: 1.086 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/1.142, allocations: 181.8 kB / 1.311 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.565e-05/1.142, allocations: 178 kB / 1.311 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.988e-05/1.142, allocations: 182.6 kB / 1.311 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/1.142, allocations: 305.4 kB / 1.311 GB, free: 228 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/1.142, allocations: 188.8 kB / 1.312 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.173e-05/1.142, allocations: 179.6 kB / 1.312 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/1.142, allocations: 108.6 kB / 1.312 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/1.142, allocations: 185.8 kB / 1.312 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/1.142, allocations: 102.6 kB / 1.312 GB, free: 15.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.938e-05/1.143, allocations: 79.39 kB / 1.312 GB, free: 15.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/1.143, allocations: 0 / 1.312 GB, free: 15.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002358/1.143, allocations: 4.156 kB / 1.312 GB, free: 15.36 MB / 1.029 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.0004253/1.143, allocations: 0.8163 MB / 1.313 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.835e-05/1.143, allocations: 1.875 kB / 1.313 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.143, allocations: 0 / 1.313 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/1.143, allocations: 1.938 kB / 1.313 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/1.144, allocations: 470.8 kB / 1.313 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/1.144, allocations: 190.8 kB / 1.314 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/1.144, allocations: 0.676 MB / 1.314 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.72e-05/1.144, allocations: 2.656 kB / 1.314 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/1.144, allocations: 8.781 kB / 1.314 GB, free: 13.16 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/1.144, allocations: 4 kB / 1.314 GB, free: 13.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9927/2.137, allocations: 1.245 MB / 1.315 GB, free: 12.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/12.24, allocations: 5.422 kB / 1.315 GB, free: 12.75 MB / 1.029 GB " [Timeout remaining time 288] (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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.031969022005796]