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.0008185/0.0008185, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007671/0.0007671, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.871/0.871, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.686/1.686, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.2e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001353/0.001365, allocations: 1.261 MB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.002544, allocations: 1.325 MB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.002563, allocations: 3.938 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.002578, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005421/0.00312, allocations: 215.1 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.515e-05/0.003186, allocations: 38.89 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.003243, allocations: 15.92 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.003286, allocations: 11.94 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.003325, allocations: 7.984 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08098/0.08431, allocations: 31.12 MB / 1.033 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.08433, allocations: 0 / 1.033 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.08433, allocations: 0 / 1.033 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.08435, allocations: 4 kB / 1.033 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.08437, allocations: 11.98 kB / 1.033 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.08448, allocations: 7.984 kB / 1.033 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.08449, allocations: 0 / 1.033 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.08449, allocations: 0 / 1.033 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.08449, allocations: 0 / 1.033 GB, free: 14.27 MB / 0.9948 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.0002563/0.08475, allocations: 250.4 kB / 1.033 GB, free: 14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.08479, allocations: 16.69 kB / 1.033 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.08483, allocations: 106 kB / 1.033 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.08487, allocations: 76.22 kB / 1.033 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.08495, allocations: 185.1 kB / 1.033 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.08498, allocations: 158.9 kB / 1.034 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.08502, allocations: 150.9 kB / 1.034 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.659e-05/0.08506, allocations: 105.5 kB / 1.034 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.08508, allocations: 79.41 kB / 1.034 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.08512, allocations: 154.5 kB / 1.034 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.08515, allocations: 150.6 kB / 1.034 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.322e-05/0.08518, allocations: 154.6 kB / 1.034 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.08535, allocations: 413 kB / 1.035 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.08541, allocations: 169.1 kB / 1.035 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.08543, allocations: 84.08 kB / 1.035 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.08545, allocations: 83.27 kB / 1.035 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.08549, allocations: 113.8 kB / 1.035 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.08549, allocations: 0 / 1.035 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 5.26e-05/0.08554, allocations: 29.64 kB / 1.035 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.0856, allocations: 207.8 kB / 1.035 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.132e-05/0.08568, allocations: 93.86 kB / 1.036 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.08569, allocations: 29.69 kB / 1.036 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.08571, allocations: 84.14 kB / 1.036 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.08571, allocations: 0 / 1.036 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.08573, allocations: 13.72 kB / 1.036 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.0858, allocations: 310.8 kB / 1.036 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-06/0.0858, allocations: 11.94 kB / 1.036 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.08585, allocations: 99.67 kB / 1.036 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.045e-05/0.08587, allocations: 79.28 kB / 1.036 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.08588, allocations: 75.28 kB / 1.036 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.405e-05/0.08592, allocations: 33.88 kB / 1.036 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.08594, allocations: 79.28 kB / 1.036 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.08596, allocations: 83.16 kB / 1.036 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.905e-05/0.086, allocations: 154.6 kB / 1.037 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.545e-05/0.08601, allocations: 75.28 kB / 1.037 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/0.08604, allocations: 154.5 kB / 1.037 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-05/0.08614, allocations: 99.3 kB / 1.037 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.08616, allocations: 83.16 kB / 1.037 GB, free: 9.863 MB / 0.9948 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 7.719e-05/0.08623, allocations: 260.4 kB / 1.037 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.08627, allocations: 108.9 kB / 1.037 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.0863, allocations: 112.1 kB / 1.037 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.464e-05/0.08633, allocations: 184.2 kB / 1.038 GB, free: 9.176 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-05/0.08637, allocations: 180.3 kB / 1.038 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.13e-05/0.08641, allocations: 180.2 kB / 1.038 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.08653, allocations: 372.3 kB / 1.038 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.08655, allocations: 105 kB / 1.038 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.08657, allocations: 116.9 kB / 1.038 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-05/0.08661, allocations: 176.3 kB / 1.039 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.08665, allocations: 184.1 kB / 1.039 GB, free: 7.797 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.581e-05/0.08669, allocations: 184.2 kB / 1.039 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.358e-05/0.08672, allocations: 180.2 kB / 1.039 GB, free: 7.426 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.627e-05/0.0868, allocations: 299.8 kB / 1.039 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.08684, allocations: 117.3 kB / 1.04 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.08689, allocations: 180.2 kB / 1.04 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.08695, allocations: 108.9 kB / 1.04 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.08699, allocations: 184.3 kB / 1.04 GB, free: 6.504 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.08701, allocations: 113 kB / 1.04 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.186e-05/0.08703, allocations: 75.28 kB / 1.04 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.08703, allocations: 4 kB / 1.04 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000155/0.08719, allocations: 0 / 1.04 GB, free: 6.309 MB / 0.9948 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.0002359/0.08742, allocations: 0.8077 MB / 1.041 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 4.075e-05/0.08746, allocations: 7.938 kB / 1.041 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.08746, allocations: 0 / 1.041 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.08746, allocations: 0 / 1.041 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.08769, allocations: 459.6 kB / 1.041 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.08797, allocations: 197.8 kB / 1.042 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.08801, allocations: 51.36 kB / 1.042 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.08803, allocations: 4 kB / 1.042 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.08805, allocations: 8.5 kB / 1.042 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of SimCode: time 4.31e-07/0.08805, allocations: 0 / 1.042 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.1065, allocations: 1.967 MB / 1.044 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/6.659, allocations: 4.562 kB / 1.044 GB, free: 2.832 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.928631813265383]