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.001403/0.001403, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001751/0.001751, allocations: 215.6 kB / 22.25 MB, free: 5.254 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.781 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.051/3.051, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",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.002131/0.002131, allocations: 67.34 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002585/0.336, allocations: 1.26 MB / 1.326 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.3383, allocations: 1.327 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.3384, allocations: 4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.3384, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008011/0.3392, allocations: 211.3 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.3393, allocations: 39.88 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.3394, allocations: 11.94 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.3394, allocations: 4 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.3394, allocations: 7.984 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2749/0.6143, allocations: 31.06 MB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.6143, allocations: 0 / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.6143, allocations: 0 / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.6143, allocations: 4 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.6144, allocations: 7.938 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.6145, allocations: 15.91 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6145, allocations: 0 / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6145, allocations: 0 / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.6145, allocations: 0 / 1.358 GB, free: 2.891 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.0003173/0.6148, allocations: 250.4 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.6149, allocations: 12.03 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/0.6149, allocations: 110 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.615, allocations: 76.22 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.6151, allocations: 181.8 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.6152, allocations: 150.9 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.6153, allocations: 154.9 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.455e-05/0.6153, allocations: 112.9 kB / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.6154, allocations: 75.28 kB / 1.359 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.6154, allocations: 150.6 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/0.6155, allocations: 154.5 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.419e-05/0.6156, allocations: 158.5 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.6158, allocations: 417 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.6159, allocations: 173.1 kB / 1.36 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.616, allocations: 80.14 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.616, allocations: 79.22 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/0.6161, allocations: 117.8 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.6161, allocations: 0 / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.438e-05/0.6161, allocations: 29.7 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.6163, allocations: 211.7 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.6164, allocations: 93.86 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.6164, allocations: 29.7 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.6164, allocations: 84.14 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.6164, allocations: 4 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.6165, allocations: 17.7 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6166, allocations: 310.8 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-06/0.6166, allocations: 3.938 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.6167, allocations: 103.6 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.6167, allocations: 79.28 kB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.104e-05/0.6168, allocations: 75.28 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.975e-05/0.6168, allocations: 33.59 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.6169, allocations: 87.27 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.6169, allocations: 75.28 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.125e-05/0.617, allocations: 154.5 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.158e-05/0.617, allocations: 87.28 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.158e-05/0.6171, allocations: 158.5 kB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.6172, allocations: 83.28 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.6172, allocations: 79.27 kB / 1.362 GB, free: 14.47 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.0001353/0.6174, allocations: 264.3 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.6174, allocations: 108.9 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.903e-05/0.6175, allocations: 104.1 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.45e-05/0.6176, allocations: 188.2 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.518e-05/0.6177, allocations: 184.2 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.901e-05/0.6177, allocations: 180.3 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.618, allocations: 376.2 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.557e-05/0.618, allocations: 108.9 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.6181, allocations: 104.9 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.076e-05/0.6181, allocations: 180.3 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.6182, allocations: 180.2 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.048e-05/0.6183, allocations: 176.3 kB / 1.364 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-05/0.6183, allocations: 180.3 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.6185, allocations: 307.8 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.6186, allocations: 112.9 kB / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/0.6186, allocations: 176.3 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.6188, allocations: 117 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.6189, allocations: 184.1 kB / 1.365 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.6189, allocations: 109 kB / 1.365 GB, free: 11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.619, allocations: 75.28 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.619, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002425/0.6192, allocations: 4 kB / 1.366 GB, free: 10.92 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.000441/0.6196, allocations: 0.8087 MB / 1.366 GB, free: 10.08 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.039e-05/0.6197, allocations: 4 kB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6197, allocations: 0 / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.6197, allocations: 4 kB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.6201, allocations: 467.6 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.6205, allocations: 199.1 kB / 1.367 GB, free: 9.375 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.404e-05/0.6206, allocations: 63.28 kB / 1.367 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.6206, allocations: 384 / 1.367 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.6206, allocations: 15.42 kB / 1.367 GB, free: 9.277 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.6206, allocations: 0 / 1.367 GB, free: 9.277 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.6512, allocations: 1.834 MB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.39, allocations: 5.969 kB / 1.369 GB, free: 7.516 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.738606275059283]