Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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.001909/0.001909, allocations: 103.7 kB / 16.45 MB, free: 6.445 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.002097/0.002097, allocations: 187.7 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.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 63.89 kB / 1.056 GB, free: 2.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3027, allocations: 160.7 MB / 1.213 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002674/0.3054, allocations: 1.219 MB / 1.214 GB, free: 228 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.3075, allocations: 1.273 MB / 1.215 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.3075, allocations: 0 / 1.215 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.3075, allocations: 3.938 kB / 1.215 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006829/0.3082, allocations: 215.3 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.3083, allocations: 35.81 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.432e-05/0.3084, allocations: 15.92 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.3084, allocations: 0 / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.3085, allocations: 4 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2483/0.5567, allocations: 31.05 MB / 1.246 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.5567, allocations: 0 / 1.246 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.5568, allocations: 0 / 1.246 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.5568, allocations: 7.938 kB / 1.246 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.5568, allocations: 0 / 1.246 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.5569, allocations: 15.97 kB / 1.246 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5569, allocations: 0 / 1.246 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5569, allocations: 0 / 1.246 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.5569, allocations: 0 / 1.246 GB, free: 2.605 MB / 0.9825 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.0003711/0.5573, allocations: 323.5 kB / 1.246 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.5574, allocations: 8.031 kB / 1.246 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.589e-05/0.5574, allocations: 114 kB / 1.246 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.5575, allocations: 80.22 kB / 1.246 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.5577, allocations: 235.7 kB / 1.247 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.5578, allocations: 158.9 kB / 1.247 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.702e-05/0.5578, allocations: 150.9 kB / 1.247 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.702e-05/0.5579, allocations: 108.9 kB / 1.247 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.558, allocations: 75.28 kB / 1.247 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.558, allocations: 158.5 kB / 1.247 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/0.5581, allocations: 150.6 kB / 1.247 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.5582, allocations: 154.5 kB / 1.248 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.5585, allocations: 449.9 kB / 1.248 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.5587, allocations: 173.2 kB / 1.248 GB, free: 152 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.5587, allocations: 84.08 kB / 1.248 GB, free: 64 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.5587, allocations: 79.22 kB / 1.248 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.437e-05/0.5588, allocations: 117.8 kB / 1.248 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5588, allocations: 0 / 1.248 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.444e-05/0.5589, allocations: 33.66 kB / 1.248 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.559, allocations: 207.8 kB / 1.249 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.5591, allocations: 93.86 kB / 1.249 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5592, allocations: 25.7 kB / 1.249 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.5592, allocations: 84.14 kB / 1.249 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.5592, allocations: 0 / 1.249 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.5593, allocations: 21.7 kB / 1.249 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5594, allocations: 310.8 kB / 1.249 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-06/0.5594, allocations: 4 kB / 1.249 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.5594, allocations: 18.58 kB / 1.249 GB, free: 15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.5595, allocations: 83.28 kB / 1.249 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-05/0.5595, allocations: 79.22 kB / 1.249 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.406e-05/0.5596, allocations: 29.64 kB / 1.249 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.5596, allocations: 87.28 kB / 1.249 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.444e-05/0.5597, allocations: 79.27 kB / 1.25 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.76e-05/0.5597, allocations: 154.5 kB / 1.25 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.082e-05/0.5598, allocations: 79.28 kB / 1.25 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.407e-05/0.5598, allocations: 154.5 kB / 1.25 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.56, allocations: 79.28 kB / 1.25 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.5601, allocations: 83.28 kB / 1.25 GB, free: 14.09 MB / 0.9981 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.0001508/0.5602, allocations: 260.4 kB / 1.25 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.5603, allocations: 112.9 kB / 1.25 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.5604, allocations: 104.1 kB / 1.251 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.675e-05/0.5604, allocations: 184.2 kB / 1.251 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.624e-05/0.5605, allocations: 184.3 kB / 1.251 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-05/0.5606, allocations: 180.2 kB / 1.251 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.5609, allocations: 405.2 kB / 1.251 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.887e-05/0.561, allocations: 116.8 kB / 1.252 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.561, allocations: 104.9 kB / 1.252 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.377e-05/0.5611, allocations: 176.3 kB / 1.252 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/0.5612, allocations: 184.3 kB / 1.252 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.247e-05/0.5613, allocations: 180.2 kB / 1.252 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.617e-05/0.5613, allocations: 180.2 kB / 1.252 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.5615, allocations: 303.8 kB / 1.253 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.5616, allocations: 186 kB / 1.253 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/0.5617, allocations: 188.2 kB / 1.253 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.5618, allocations: 109 kB / 1.253 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.5619, allocations: 180.6 kB / 1.253 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.562, allocations: 105.2 kB / 1.253 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.562, allocations: 87.25 kB / 1.253 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.562, allocations: 4 kB / 1.253 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000261/0.5623, allocations: 4 kB / 1.253 GB, free: 10.41 MB / 0.9981 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.0005053/0.5628, allocations: 0.8048 MB / 1.254 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.444e-05/0.5629, allocations: 12.03 kB / 1.254 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5629, allocations: 4 kB / 1.254 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-06/0.5629, allocations: 4 kB / 1.254 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.5633, allocations: 461.8 kB / 1.255 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.5638, allocations: 194.3 kB / 1.255 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.5641, allocations: 0.6729 MB / 1.256 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.5641, allocations: 8 kB / 1.256 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.5641, allocations: 11.44 kB / 1.256 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.5641, allocations: 0 / 1.256 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.5895, allocations: 1.28 MB / 1.257 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.904, allocations: 1 kB / 1.257 GB, free: 6.891 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.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: 16.099140152335167]