Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001428/0.001428, 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.001636/0.001636, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.292/3.292, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_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.002091/0.002091, allocations: 70.52 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3624, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002332/0.3647, allocations: 1.258 MB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3669, allocations: 1.33 MB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.73e-05/0.3669, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.3669, allocations: 4 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.3676, allocations: 215.3 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.3678, allocations: 34.77 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.269e-05/0.3678, allocations: 19.92 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.3679, allocations: 0 / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.3679, allocations: 11.98 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2567/0.6246, allocations: 31.05 MB / 1.397 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.6246, allocations: 4 kB / 1.397 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.6246, allocations: 4 kB / 1.397 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.6246, allocations: 0 / 1.397 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.6247, allocations: 4 kB / 1.397 GB, free: 14.53 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.6248, allocations: 19.84 kB / 1.397 GB, free: 14.51 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6248, allocations: 4 kB / 1.397 GB, free: 14.51 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6248, allocations: 0 / 1.397 GB, free: 14.51 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.6248, allocations: 0 / 1.397 GB, free: 14.51 MB / 1.092 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.0002962/0.6251, allocations: 240 kB / 1.397 GB, free: 14.25 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.6251, allocations: 12.02 kB / 1.397 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.6252, allocations: 110 kB / 1.397 GB, free: 14.12 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.6253, allocations: 80.22 kB / 1.397 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.6254, allocations: 189.8 kB / 1.397 GB, free: 13.83 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.6255, allocations: 150.9 kB / 1.397 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.6255, allocations: 150.9 kB / 1.397 GB, free: 13.53 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.085e-05/0.6256, allocations: 108.9 kB / 1.398 GB, free: 13.42 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.6256, allocations: 83.28 kB / 1.398 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.6257, allocations: 150.6 kB / 1.398 GB, free: 13.19 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.773e-05/0.6258, allocations: 150.6 kB / 1.398 GB, free: 13.04 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.275e-05/0.6258, allocations: 150.6 kB / 1.398 GB, free: 12.89 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.6261, allocations: 421 kB / 1.398 GB, free: 12.44 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 9.673e-05/0.6262, allocations: 177.1 kB / 1.399 GB, free: 12.25 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.6262, allocations: 80.14 kB / 1.399 GB, free: 12.17 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.6263, allocations: 83.22 kB / 1.399 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.6263, allocations: 105.8 kB / 1.399 GB, free: 11.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.6263, allocations: 0 / 1.399 GB, free: 11.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 7.691e-05/0.6264, allocations: 33.7 kB / 1.399 GB, free: 11.94 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.6265, allocations: 203.8 kB / 1.399 GB, free: 11.71 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.6266, allocations: 101.8 kB / 1.399 GB, free: 11.6 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.6267, allocations: 25.7 kB / 1.399 GB, free: 11.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.6267, allocations: 84.14 kB / 1.399 GB, free: 11.48 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.6267, allocations: 3.938 kB / 1.399 GB, free: 11.48 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.6267, allocations: 21.66 kB / 1.399 GB, free: 11.45 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6269, allocations: 318.8 kB / 1.4 GB, free: 11.13 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.6269, allocations: 0 / 1.4 GB, free: 11.13 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.6269, allocations: 95.69 kB / 1.4 GB, free: 11.01 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.627, allocations: 79.28 kB / 1.4 GB, free: 10.93 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.627, allocations: 79.28 kB / 1.4 GB, free: 10.85 MB / 1.092 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.524e-05/0.6271, allocations: 29.64 kB / 1.4 GB, free: 10.82 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.6271, allocations: 83.28 kB / 1.4 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.6272, allocations: 79.22 kB / 1.4 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.708e-05/0.6272, allocations: 158.5 kB / 1.4 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.164e-05/0.6273, allocations: 79.28 kB / 1.4 GB, free: 10.42 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.193e-05/0.6273, allocations: 154.5 kB / 1.4 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.6275, allocations: 83.28 kB / 1.401 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.6275, allocations: 79.22 kB / 1.401 GB, free: 10.11 MB / 1.092 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.0001407/0.6277, allocations: 264.4 kB / 1.401 GB, free: 9.84 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.6277, allocations: 108.9 kB / 1.401 GB, free: 9.727 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.6278, allocations: 112.1 kB / 1.401 GB, free: 9.605 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.457e-05/0.6279, allocations: 176.3 kB / 1.401 GB, free: 9.426 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.419e-05/0.628, allocations: 184.2 kB / 1.401 GB, free: 9.238 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.568e-05/0.628, allocations: 188.2 kB / 1.402 GB, free: 9.047 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.6283, allocations: 372.3 kB / 1.402 GB, free: 8.633 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.68e-05/0.6283, allocations: 112.9 kB / 1.402 GB, free: 8.516 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.6284, allocations: 105 kB / 1.402 GB, free: 8.406 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.044e-05/0.6285, allocations: 180.3 kB / 1.402 GB, free: 8.223 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.6285, allocations: 180.2 kB / 1.402 GB, free: 8.039 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.568e-05/0.6286, allocations: 180.3 kB / 1.403 GB, free: 7.855 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.048e-05/0.6287, allocations: 184.4 kB / 1.403 GB, free: 7.668 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.6289, allocations: 303.8 kB / 1.403 GB, free: 7.348 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.6289, allocations: 112.8 kB / 1.403 GB, free: 7.23 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.629, allocations: 180.3 kB / 1.403 GB, free: 7.047 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.6292, allocations: 112.9 kB / 1.403 GB, free: 6.93 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.6292, allocations: 176.3 kB / 1.404 GB, free: 6.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.6293, allocations: 109 kB / 1.404 GB, free: 6.637 MB / 1.092 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.6293, allocations: 83.28 kB / 1.404 GB, free: 6.555 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.6293, allocations: 0 / 1.404 GB, free: 6.555 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002515/0.6296, allocations: 11.88 kB / 1.404 GB, free: 6.543 MB / 1.092 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.0004642/0.63, allocations: 0.8087 MB / 1.405 GB, free: 5.703 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 5.175e-05/0.6301, allocations: 0 / 1.405 GB, free: 5.703 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6301, allocations: 4 kB / 1.405 GB, free: 5.699 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.6301, allocations: 3.938 kB / 1.405 GB, free: 5.695 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.6305, allocations: 455.7 kB / 1.405 GB, free: 5.246 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.631, allocations: 195.2 kB / 1.405 GB, free: 5.016 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.015e-05/0.631, allocations: 55.3 kB / 1.405 GB, free: 4.941 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.631, allocations: 4 kB / 1.405 GB, free: 4.938 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.6311, allocations: 11.42 kB / 1.405 GB, free: 4.926 MB / 1.092 GB Notification: Performance of SimCode: time 2.91e-07/0.6311, allocations: 0 / 1.405 GB, free: 4.926 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.6616, allocations: 1.838 MB / 1.407 GB, free: 3.195 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.72, allocations: 10.38 kB / 1.407 GB, free: 3.188 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.647496497724205]