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.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.001363/0.001363, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001587/0.001587, allocations: 216 kB / 22.25 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.673/2.673, allocations: 476.8 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.001964/0.001964, allocations: 69.33 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3224, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002634/0.3251, allocations: 1.268 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.3273, allocations: 1.35 MB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.3274, allocations: 4 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.3274, allocations: 0 / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007235/0.3281, allocations: 211.3 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/0.3282, allocations: 33.39 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.3283, allocations: 19.98 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.3283, allocations: 0 / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.759e-05/0.3283, allocations: 11.94 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2485/0.5768, allocations: 31.05 MB / 1.317 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.5768, allocations: 7.938 kB / 1.317 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.5768, allocations: 0 / 1.317 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.5769, allocations: 3.984 kB / 1.317 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.5769, allocations: 11.98 kB / 1.317 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.577, allocations: 11.88 kB / 1.317 GB, free: 12.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.577, allocations: 0 / 1.317 GB, free: 12.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.724e-06/0.577, allocations: 0 / 1.317 GB, free: 12.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.577, allocations: 0 / 1.317 GB, free: 12.25 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.0003054/0.5773, allocations: 246.4 kB / 1.317 GB, free: 11.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5774, allocations: 8.031 kB / 1.317 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.26e-05/0.5774, allocations: 118 kB / 1.317 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.5775, allocations: 76.22 kB / 1.317 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.5776, allocations: 181.8 kB / 1.317 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.5777, allocations: 154.9 kB / 1.317 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.5778, allocations: 158.9 kB / 1.317 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.901e-05/0.5779, allocations: 104.9 kB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.5779, allocations: 83.22 kB / 1.318 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-05/0.578, allocations: 150.6 kB / 1.318 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/0.578, allocations: 150.6 kB / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.5781, allocations: 158.5 kB / 1.318 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.5784, allocations: 417 kB / 1.318 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/0.5785, allocations: 169.2 kB / 1.319 GB, free: 9.996 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.5785, allocations: 92.06 kB / 1.319 GB, free: 9.902 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.5786, allocations: 79.22 kB / 1.319 GB, free: 9.824 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.065e-05/0.5786, allocations: 109.8 kB / 1.319 GB, free: 9.707 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5786, allocations: 0 / 1.319 GB, free: 9.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.962e-05/0.5787, allocations: 33.7 kB / 1.319 GB, free: 9.668 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5788, allocations: 203.8 kB / 1.319 GB, free: 9.438 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.5789, allocations: 97.84 kB / 1.319 GB, free: 9.332 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.5789, allocations: 25.7 kB / 1.319 GB, free: 9.301 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.579, allocations: 88.12 kB / 1.319 GB, free: 9.211 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.579, allocations: 3.938 kB / 1.319 GB, free: 9.207 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.579, allocations: 13.72 kB / 1.319 GB, free: 9.188 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5792, allocations: 314.8 kB / 1.32 GB, free: 8.871 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.5792, allocations: 3.938 kB / 1.32 GB, free: 8.867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.5792, allocations: 26.56 kB / 1.32 GB, free: 8.832 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.5792, allocations: 75.28 kB / 1.32 GB, free: 8.758 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-05/0.5793, allocations: 79.28 kB / 1.32 GB, free: 8.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.961e-05/0.5793, allocations: 29.64 kB / 1.32 GB, free: 8.645 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.5794, allocations: 87.19 kB / 1.32 GB, free: 8.559 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.805e-05/0.5794, allocations: 83.3 kB / 1.32 GB, free: 8.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.078e-05/0.5795, allocations: 154.6 kB / 1.32 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.353e-05/0.5795, allocations: 75.28 kB / 1.32 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.037e-05/0.5796, allocations: 158.5 kB / 1.32 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.5797, allocations: 79.27 kB / 1.32 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.5798, allocations: 87.22 kB / 1.321 GB, free: 7.93 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.0001332/0.5799, allocations: 260.4 kB / 1.321 GB, free: 7.664 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.58, allocations: 112.9 kB / 1.321 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.58, allocations: 108.1 kB / 1.321 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.312e-05/0.5801, allocations: 180.2 kB / 1.321 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.533e-05/0.5802, allocations: 184.3 kB / 1.321 GB, free: 7.066 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.355e-05/0.5803, allocations: 184.2 kB / 1.322 GB, free: 6.879 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.5805, allocations: 372.3 kB / 1.322 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.773e-05/0.5805, allocations: 112.9 kB / 1.322 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.5806, allocations: 104.9 kB / 1.322 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.062e-05/0.5806, allocations: 180.2 kB / 1.322 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/0.5807, allocations: 188.2 kB / 1.322 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.888e-05/0.5808, allocations: 184.3 kB / 1.323 GB, free: 5.676 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.171e-05/0.5809, allocations: 180.2 kB / 1.323 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.581, allocations: 299.8 kB / 1.323 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.5811, allocations: 116.8 kB / 1.323 GB, free: 5.055 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/0.5812, allocations: 180.3 kB / 1.323 GB, free: 4.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.5813, allocations: 112.9 kB / 1.323 GB, free: 4.754 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.5814, allocations: 180.2 kB / 1.324 GB, free: 4.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.5814, allocations: 101 kB / 1.324 GB, free: 4.465 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.5815, allocations: 79.28 kB / 1.324 GB, free: 4.387 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5815, allocations: 0 / 1.324 GB, free: 4.387 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002534/0.5817, allocations: 7.938 kB / 1.324 GB, free: 4.379 MB / 1.014 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.0004364/0.5822, allocations: 0.8087 MB / 1.325 GB, free: 3.539 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.266e-05/0.5822, allocations: 8 kB / 1.325 GB, free: 3.531 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5822, allocations: 0 / 1.325 GB, free: 3.531 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.5822, allocations: 4 kB / 1.325 GB, free: 3.527 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.5826, allocations: 463.6 kB / 1.325 GB, free: 3.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.583, allocations: 186.6 kB / 1.325 GB, free: 2.848 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.5833, allocations: 0.6728 MB / 1.326 GB, free: 2.148 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.5833, allocations: 8.375 kB / 1.326 GB, free: 2.141 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.5834, allocations: 15.42 kB / 1.326 GB, free: 2.125 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/0.5834, allocations: 0 / 1.326 GB, free: 2.125 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.6169, allocations: 1.362 MB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.09, allocations: 0 / 1.327 GB, free: 0.8398 MB / 1.014 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 --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/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: 17.38758548302576]