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.001966/0.001966, allocations: 107.1 kB / 16.4 MB, free: 6.496 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.00224/0.00224, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.365/1.365, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.494/2.494, allocations: 437.1 MB / 0.7171 GB, free: 4.117 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.001926/0.001926, allocations: 68.12 kB / 1.027 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8158, allocations: 151.6 MB / 1.175 GB, free: 17.54 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002139/0.818, allocations: 1.227 MB / 1.176 GB, free: 16.69 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.8198, allocations: 1.265 MB / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.8198, allocations: 0 / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.8198, allocations: 0 / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.8205, allocations: 213.4 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.922e-05/0.8206, allocations: 35.19 kB / 1.177 GB, free: 15.71 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.8207, allocations: 9.406 kB / 1.177 GB, free: 15.71 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.8208, allocations: 2.141 kB / 1.177 GB, free: 15.71 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.8208, allocations: 14.06 kB / 1.177 GB, free: 15.7 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2379/1.059, allocations: 30.95 MB / 1.208 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/1.059, allocations: 0 / 1.208 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/1.059, allocations: 1.125 kB / 1.208 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/1.059, allocations: 5 kB / 1.208 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/1.059, allocations: 6.547 kB / 1.208 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/1.059, allocations: 8.734 kB / 1.208 GB, free: 0.543 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.059, allocations: 0 / 1.208 GB, free: 0.543 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/1.059, allocations: 1.125 kB / 1.208 GB, free: 0.543 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.059, allocations: 0 / 1.208 GB, free: 0.543 MB / 0.92 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.0002393/1.059, allocations: 330.1 kB / 1.208 GB, free: 184 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.059, allocations: 13.97 kB / 1.208 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/1.059, allocations: 107.3 kB / 1.208 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/1.059, allocations: 78.28 kB / 1.208 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/1.06, allocations: 243.7 kB / 1.208 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/1.06, allocations: 152.1 kB / 1.209 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/1.06, allocations: 154.9 kB / 1.209 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.118e-05/1.06, allocations: 105.8 kB / 1.209 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/1.06, allocations: 79.22 kB / 1.209 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/1.06, allocations: 151.4 kB / 1.209 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/1.06, allocations: 151.6 kB / 1.209 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.64e-05/1.06, allocations: 151.7 kB / 1.209 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/1.06, allocations: 451.1 kB / 1.21 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/1.061, allocations: 166.1 kB / 1.21 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/1.061, allocations: 85.23 kB / 1.21 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/1.061, allocations: 79.22 kB / 1.21 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/1.061, allocations: 119.4 kB / 1.21 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/1.061, allocations: 0 / 1.21 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.212e-05/1.061, allocations: 31.16 kB / 1.21 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.061, allocations: 205.3 kB / 1.21 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/1.061, allocations: 97.56 kB / 1.21 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/1.061, allocations: 30.77 kB / 1.21 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/1.061, allocations: 85.2 kB / 1.211 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/1.061, allocations: 0 / 1.211 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/1.061, allocations: 17 kB / 1.211 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.061, allocations: 311.9 kB / 1.211 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/1.061, allocations: 3.938 kB / 1.211 GB, free: 13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/1.061, allocations: 25.84 kB / 1.211 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/1.062, allocations: 76.5 kB / 1.211 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-05/1.062, allocations: 75.28 kB / 1.211 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.107e-05/1.062, allocations: 37.3 kB / 1.211 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/1.062, allocations: 80.41 kB / 1.211 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/1.062, allocations: 88.06 kB / 1.211 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.929e-05/1.062, allocations: 151.2 kB / 1.211 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.023e-05/1.062, allocations: 85.12 kB / 1.211 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.825e-05/1.062, allocations: 155.6 kB / 1.212 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/1.062, allocations: 85.47 kB / 1.212 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/1.062, allocations: 84.22 kB / 1.212 GB, free: 12.08 MB / 0.9356 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.0001406/1.062, allocations: 259.4 kB / 1.212 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/1.062, allocations: 111.2 kB / 1.212 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/1.062, allocations: 109.1 kB / 1.212 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.838e-05/1.063, allocations: 185.4 kB / 1.212 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.977e-05/1.063, allocations: 181.2 kB / 1.213 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.817e-05/1.063, allocations: 182.2 kB / 1.213 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/1.063, allocations: 403.4 kB / 1.213 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.805e-05/1.063, allocations: 106 kB / 1.213 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/1.063, allocations: 104.9 kB / 1.213 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.392e-05/1.063, allocations: 185.4 kB / 1.214 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-05/1.063, allocations: 181.4 kB / 1.214 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.763e-05/1.063, allocations: 177.2 kB / 1.214 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.519e-05/1.063, allocations: 181.3 kB / 1.214 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/1.064, allocations: 312.5 kB / 1.214 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/1.064, allocations: 187 kB / 1.215 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/1.064, allocations: 178.6 kB / 1.215 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/1.064, allocations: 111.2 kB / 1.215 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/1.064, allocations: 181.5 kB / 1.215 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/1.064, allocations: 102.1 kB / 1.215 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.121e-05/1.064, allocations: 81.38 kB / 1.215 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.064, allocations: 0 / 1.215 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002592/1.064, allocations: 3.781 kB / 1.215 GB, free: 8.438 MB / 0.9356 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.0005294/1.065, allocations: 0.8106 MB / 1.216 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.316e-05/1.065, allocations: 5.312 kB / 1.216 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.065, allocations: 5.062 kB / 1.216 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/1.065, allocations: 0 / 1.216 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/1.065, allocations: 462.6 kB / 1.216 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/1.066, allocations: 193 kB / 1.217 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/1.066, allocations: 0.6746 MB / 1.217 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.967e-05/1.066, allocations: 2.344 kB / 1.217 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/1.066, allocations: 12.67 kB / 1.217 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/1.066, allocations: 0 / 1.217 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/1.091, allocations: 1.284 MB / 1.218 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.989, allocations: 4 kB / 1.218 GB, free: 5.406 MB / 0.9356 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: 14.49371037282981]