Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002311/0.002311, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.05/3.05, allocations: 0.49 GB / 0.7959 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 73.56 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3256, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002291/0.3278, allocations: 1.258 MB / 1.328 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3299, allocations: 1.354 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.3299, allocations: 4 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.33, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006615/0.3306, allocations: 211.2 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.3307, allocations: 43.25 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.3308, allocations: 11.94 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.3308, allocations: 8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.3308, allocations: 11.94 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2501/0.5809, allocations: 31.06 MB / 1.36 GB, free: 2.523 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.5809, allocations: 4 kB / 1.36 GB, free: 2.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.5809, allocations: 0 / 1.36 GB, free: 2.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.581, allocations: 0 / 1.36 GB, free: 2.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.581, allocations: 7.984 kB / 1.36 GB, free: 2.512 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.5811, allocations: 19.86 kB / 1.36 GB, free: 2.492 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5811, allocations: 0 / 1.36 GB, free: 2.492 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5811, allocations: 0 / 1.36 GB, free: 2.492 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5811, allocations: 4 kB / 1.36 GB, free: 2.488 MB / 1.045 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.0003075/0.5814, allocations: 246.4 kB / 1.36 GB, free: 2.219 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5815, allocations: 8.031 kB / 1.36 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.763e-05/0.5815, allocations: 79.47 kB / 1.36 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.5816, allocations: 106 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.5817, allocations: 84.16 kB / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.5818, allocations: 177.8 kB / 1.361 GB, free: 1.738 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.5819, allocations: 158.9 kB / 1.361 GB, free: 1.582 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.5819, allocations: 158.7 kB / 1.361 GB, free: 1.426 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.9e-05/0.582, allocations: 105 kB / 1.361 GB, free: 1.316 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.582, allocations: 75.28 kB / 1.361 GB, free: 1.242 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/0.5821, allocations: 154.6 kB / 1.361 GB, free: 1.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.095e-05/0.5822, allocations: 154.6 kB / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.5822, allocations: 158.5 kB / 1.361 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.5825, allocations: 413 kB / 1.362 GB, free: 344 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.5826, allocations: 165.1 kB / 1.362 GB, free: 168 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.5826, allocations: 92.06 kB / 1.362 GB, free: 72 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.093e-05/0.5827, allocations: 79.28 kB / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.5827, allocations: 105.8 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.5827, allocations: 0 / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.03e-05/0.5828, allocations: 33.64 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.5829, allocations: 211.8 kB / 1.362 GB, free: 15.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.583, allocations: 97.84 kB / 1.363 GB, free: 15.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.5831, allocations: 29.7 kB / 1.363 GB, free: 15.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.5831, allocations: 80.14 kB / 1.363 GB, free: 15.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.5831, allocations: 3.938 kB / 1.363 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.5831, allocations: 21.66 kB / 1.363 GB, free: 15.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5833, allocations: 310.8 kB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.5833, allocations: 0 / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.5833, allocations: 22.56 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/0.5833, allocations: 79.28 kB / 1.363 GB, free: 14.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-05/0.5834, allocations: 75.28 kB / 1.363 GB, free: 14.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.268e-05/0.5834, allocations: 37.58 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.5835, allocations: 87.28 kB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.5835, allocations: 75.28 kB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.141e-05/0.5836, allocations: 154.5 kB / 1.364 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.902e-05/0.5836, allocations: 75.28 kB / 1.364 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.97e-05/0.5837, allocations: 158.6 kB / 1.364 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.5838, allocations: 83.2 kB / 1.364 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.5839, allocations: 79.27 kB / 1.364 GB, free: 14.11 MB / 1.061 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.0001334/0.584, allocations: 264.4 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.5841, allocations: 116.8 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.5841, allocations: 112.1 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.835e-05/0.5842, allocations: 180.3 kB / 1.365 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.27e-05/0.5843, allocations: 180.2 kB / 1.365 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.335e-05/0.5843, allocations: 184.3 kB / 1.365 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.5846, allocations: 376.2 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.45e-05/0.5846, allocations: 109 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.5847, allocations: 101 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.061e-05/0.5847, allocations: 184.2 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/0.5848, allocations: 180.2 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-05/0.5849, allocations: 184.2 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.135e-05/0.585, allocations: 176.3 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.5851, allocations: 315.9 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.5852, allocations: 109 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.721e-05/0.5852, allocations: 184.2 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.5854, allocations: 105 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.5855, allocations: 196.2 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.5855, allocations: 101 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.5856, allocations: 79.28 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5856, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002464/0.5858, allocations: 4 kB / 1.367 GB, free: 10.53 MB / 1.061 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.0004302/0.5862, allocations: 0.8125 MB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.84e-05/0.5863, allocations: 4 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.5863, allocations: 0 / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.5863, allocations: 3.938 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.5867, allocations: 465 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.5871, allocations: 199.1 kB / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.5874, allocations: 0.669 MB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.5874, allocations: 7.938 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.5874, allocations: 7.438 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.5874, allocations: 0 / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.6099, allocations: 1.379 MB / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.17, allocations: 15.83 kB / 1.371 GB, free: 6.969 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.680558958032634]