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.00158/0.00158, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.001563/0.001563, allocations: 187.8 kB / 19.4 MB, free: 3.66 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.379/1.379, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.59/2.59, allocations: 476.7 MB / 0.7611 GB, free: 15.75 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.001866/0.001866, allocations: 71.88 kB / 1.104 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.874, allocations: 168.7 MB / 1.269 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002155/0.8762, allocations: 1.247 MB / 1.27 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.8779, allocations: 1.263 MB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.8779, allocations: 0 / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.878, allocations: 0.8125 kB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007013/0.8787, allocations: 217.4 kB / 1.271 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.8788, allocations: 35.34 kB / 1.271 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.8788, allocations: 16.86 kB / 1.271 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.8789, allocations: 6.484 kB / 1.271 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.278e-05/0.8789, allocations: 6.453 kB / 1.271 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2435/1.122, allocations: 31.04 MB / 1.302 GB, free: 7.465 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/1.122, allocations: 1.562 kB / 1.302 GB, free: 7.465 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/1.122, allocations: 0 / 1.302 GB, free: 7.465 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/1.122, allocations: 6.031 kB / 1.302 GB, free: 7.461 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/1.122, allocations: 6.984 kB / 1.302 GB, free: 7.457 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/1.123, allocations: 6.984 kB / 1.302 GB, free: 7.457 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.123, allocations: 0.5625 kB / 1.302 GB, free: 7.457 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/1.123, allocations: 1.469 kB / 1.302 GB, free: 7.457 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.16e-05/1.123, allocations: 4 kB / 1.302 GB, free: 7.453 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.0003516/1.123, allocations: 321.2 kB / 1.302 GB, free: 7.102 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.123, allocations: 9.844 kB / 1.302 GB, free: 7.102 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.404e-05/1.123, allocations: 108.1 kB / 1.302 GB, free: 6.988 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/1.123, allocations: 85.31 kB / 1.302 GB, free: 6.906 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/1.124, allocations: 246.1 kB / 1.303 GB, free: 6.629 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/1.124, allocations: 151.6 kB / 1.303 GB, free: 6.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/1.124, allocations: 160 kB / 1.303 GB, free: 6.324 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.574e-05/1.124, allocations: 105.8 kB / 1.303 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/1.124, allocations: 75.28 kB / 1.303 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/1.124, allocations: 151.7 kB / 1.303 GB, free: 5.992 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.937e-05/1.124, allocations: 155.7 kB / 1.303 GB, free: 5.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/1.124, allocations: 154.6 kB / 1.303 GB, free: 5.688 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/1.124, allocations: 447.1 kB / 1.304 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.674e-05/1.125, allocations: 170.2 kB / 1.304 GB, free: 5.031 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/1.125, allocations: 80.8 kB / 1.304 GB, free: 4.949 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/1.125, allocations: 80.34 kB / 1.304 GB, free: 4.871 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/1.125, allocations: 115.5 kB / 1.304 GB, free: 4.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/1.125, allocations: 0 / 1.304 GB, free: 4.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.44e-05/1.125, allocations: 32.78 kB / 1.304 GB, free: 4.715 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.125, allocations: 204.4 kB / 1.305 GB, free: 4.484 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.125, allocations: 100.3 kB / 1.305 GB, free: 4.383 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.125, allocations: 25.7 kB / 1.305 GB, free: 4.352 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/1.125, allocations: 86.27 kB / 1.305 GB, free: 4.266 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/1.125, allocations: 0 / 1.305 GB, free: 4.266 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/1.125, allocations: 14.34 kB / 1.305 GB, free: 4.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.125, allocations: 312.7 kB / 1.305 GB, free: 3.938 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-06/1.125, allocations: 0 / 1.305 GB, free: 3.938 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/1.125, allocations: 23.16 kB / 1.305 GB, free: 3.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/1.125, allocations: 76.89 kB / 1.305 GB, free: 3.836 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.988e-05/1.125, allocations: 79.28 kB / 1.305 GB, free: 3.758 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.631e-05/1.125, allocations: 38.2 kB / 1.305 GB, free: 3.719 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/1.125, allocations: 81 kB / 1.305 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/1.125, allocations: 75.98 kB / 1.305 GB, free: 3.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.287e-05/1.126, allocations: 156.6 kB / 1.306 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.294e-05/1.126, allocations: 84.52 kB / 1.306 GB, free: 3.336 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.993e-05/1.126, allocations: 156.4 kB / 1.306 GB, free: 3.184 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/1.126, allocations: 91.33 kB / 1.306 GB, free: 3.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/1.126, allocations: 76.47 kB / 1.306 GB, free: 3.023 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.0001343/1.126, allocations: 259.7 kB / 1.306 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/1.126, allocations: 112.5 kB / 1.306 GB, free: 2.648 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/1.126, allocations: 110.6 kB / 1.306 GB, free: 2.535 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.301e-05/1.126, allocations: 185.2 kB / 1.307 GB, free: 2.348 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.551e-05/1.126, allocations: 182.2 kB / 1.307 GB, free: 2.164 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.408e-05/1.126, allocations: 182.2 kB / 1.307 GB, free: 1.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/1.127, allocations: 402.8 kB / 1.307 GB, free: 1.535 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.723e-05/1.127, allocations: 109.5 kB / 1.307 GB, free: 1.422 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/1.127, allocations: 103.1 kB / 1.307 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.469e-05/1.127, allocations: 186.1 kB / 1.308 GB, free: 1.129 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/1.127, allocations: 178.3 kB / 1.308 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.9e-05/1.127, allocations: 178.2 kB / 1.308 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.075e-05/1.127, allocations: 185.4 kB / 1.308 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/1.127, allocations: 314.5 kB / 1.308 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/1.127, allocations: 188.4 kB / 1.309 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.127, allocations: 183.1 kB / 1.309 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/1.127, allocations: 108.7 kB / 1.309 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/1.128, allocations: 178.4 kB / 1.309 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/1.128, allocations: 110.6 kB / 1.309 GB, free: 15.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.612e-05/1.128, allocations: 79.7 kB / 1.309 GB, free: 15.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.128, allocations: 0 / 1.309 GB, free: 15.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002417/1.128, allocations: 2.562 kB / 1.309 GB, free: 15.39 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.0004524/1.128, allocations: 0.8097 MB / 1.31 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.7e-05/1.128, allocations: 5.281 kB / 1.31 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.128, allocations: 0 / 1.31 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/1.128, allocations: 2.141 kB / 1.31 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/1.129, allocations: 459.2 kB / 1.311 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/1.129, allocations: 193.1 kB / 1.311 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/1.13, allocations: 0.6758 MB / 1.311 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.356e-05/1.13, allocations: 2.266 kB / 1.311 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/1.13, allocations: 8.75 kB / 1.311 GB, free: 13.2 MB / 1.029 GB Notification: Performance of SimCode: time 8.61e-07/1.13, allocations: 0 / 1.311 GB, free: 13.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/1.157, allocations: 1.267 MB / 1.313 GB, free: 12.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.809, allocations: 24.89 kB / 1.313 GB, free: 12.72 MB / 1.029 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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: 14.48097294382751]