Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.33/2.33, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009183/0.0009182, allocations: 87.89 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.658e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3562, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.452, allocations: 152.1 MB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/1.452, allocations: 86.06 kB / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07036/1.523, allocations: 40.06 MB / 1.406 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.503e-06/1.523, allocations: 0 / 1.406 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.987e-06/1.523, allocations: 0 / 1.406 GB, free: 2.012 MB / 0.8542 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.0004747/1.523, allocations: 382 kB / 1.407 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.523, allocations: 8.031 kB / 1.407 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/1.523, allocations: 75.28 kB / 1.407 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/1.523, allocations: 250.2 kB / 1.407 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/1.524, allocations: 154.6 kB / 1.407 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/1.524, allocations: 150.6 kB / 1.407 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.923e-05/1.524, allocations: 101 kB / 1.408 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.524, allocations: 78.91 kB / 1.408 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/1.524, allocations: 150.6 kB / 1.408 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/1.524, allocations: 150.6 kB / 1.408 GB, free: 464 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/1.524, allocations: 166.4 kB / 1.408 GB, free: 296 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/1.524, allocations: 449.3 kB / 1.409 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.921e-05/1.524, allocations: 165.1 kB / 1.409 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/1.524, allocations: 80.14 kB / 1.409 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/1.524, allocations: 83.28 kB / 1.409 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/1.524, allocations: 113 kB / 1.409 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/1.524, allocations: 0 / 1.409 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.934e-05/1.525, allocations: 26.33 kB / 1.409 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.525, allocations: 211.8 kB / 1.409 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.525, allocations: 89 kB / 1.409 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/1.525, allocations: 29.33 kB / 1.409 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/1.525, allocations: 84.14 kB / 1.409 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/1.525, allocations: 0 / 1.409 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-07/1.525, allocations: 0 / 1.409 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.525, allocations: 314.8 kB / 1.41 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-06/1.525, allocations: 0 / 1.41 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/1.525, allocations: 22.56 kB / 1.41 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/1.525, allocations: 83.22 kB / 1.41 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.425e-05/1.525, allocations: 79.28 kB / 1.41 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.883e-05/1.525, allocations: 29.08 kB / 1.41 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/1.525, allocations: 83.28 kB / 1.41 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/1.525, allocations: 83.16 kB / 1.41 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.867e-05/1.525, allocations: 150.6 kB / 1.41 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.903e-05/1.525, allocations: 75.28 kB / 1.41 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-05/1.525, allocations: 162.5 kB / 1.41 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/1.526, allocations: 83.31 kB / 1.41 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/1.526, allocations: 86.59 kB / 1.411 GB, free: 13.62 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.526, allocations: 256 kB / 1.411 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/1.526, allocations: 108.9 kB / 1.411 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/1.526, allocations: 111.9 kB / 1.411 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.35e-05/1.526, allocations: 188 kB / 1.411 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-05/1.526, allocations: 180.3 kB / 1.411 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.155e-05/1.526, allocations: 181.2 kB / 1.412 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/1.526, allocations: 404.4 kB / 1.412 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/1.526, allocations: 105 kB / 1.412 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/1.526, allocations: 108.9 kB / 1.412 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.595e-05/1.527, allocations: 176.3 kB / 1.412 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/1.527, allocations: 184.2 kB / 1.412 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.569e-05/1.527, allocations: 180.3 kB / 1.413 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.988e-05/1.527, allocations: 180 kB / 1.413 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/1.527, allocations: 304.1 kB / 1.413 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/1.527, allocations: 197.4 kB / 1.413 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/1.527, allocations: 188.2 kB / 1.413 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/1.527, allocations: 105.2 kB / 1.414 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/1.527, allocations: 188.2 kB / 1.414 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/1.527, allocations: 105 kB / 1.414 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.555e-05/1.527, allocations: 86.89 kB / 1.414 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.527, allocations: 0 / 1.414 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002617/1.528, allocations: 4 kB / 1.414 GB, free: 9.957 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/1.528, allocations: 170.5 kB / 1.414 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.117e-05/1.528, allocations: 3.938 kB / 1.414 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.528, allocations: 4 kB / 1.414 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/1.528, allocations: 4 kB / 1.414 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/1.528, allocations: 0.5185 MB / 1.415 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/1.529, allocations: 124.3 kB / 1.415 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/1.529, allocations: 0.677 MB / 1.415 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.969e-05/1.529, allocations: 8 kB / 1.415 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-06/1.529, allocations: 7.438 kB / 1.415 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/1.529, allocations: 0 / 1.415 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of Templates: time 0.002428/1.531, allocations: 468 kB / 1.416 GB, free: 7.945 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches