Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.521/2.521, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.00167/0.00167, allocations: 179 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 223.2 MB / 0.7992 GB, free: 14.65 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.0009417/0.0009418, allocations: 90.41 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 14.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3141, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.5124, allocations: 149.6 MB / 1.375 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5128, allocations: 67.95 kB / 1.375 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002429/0.5152, allocations: 0.8058 MB / 1.376 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5153, allocations: 4 kB / 1.376 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.5153, allocations: 0 / 1.376 GB, free: 2.938 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005179/0.5158, allocations: 359.2 kB / 1.377 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.5159, allocations: 8.031 kB / 1.377 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.5159, allocations: 0 / 1.377 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.5161, allocations: 190.8 kB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.5161, allocations: 0 / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.5162, allocations: 7.938 kB / 1.377 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.5165, allocations: 77.66 kB / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.5165, allocations: 0 / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.5165, allocations: 8 kB / 1.377 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5165, allocations: 0 / 1.377 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.5168, allocations: 91.86 kB / 1.377 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.5174, allocations: 300.9 kB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.5176, allocations: 63.39 kB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.5177, allocations: 4 kB / 1.377 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.5177, allocations: 34.56 kB / 1.377 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.5177, allocations: 0 / 1.377 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005698/0.5183, allocations: 165.6 kB / 1.377 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.5184, allocations: 51.41 kB / 1.377 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.5185, allocations: 108.8 kB / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.5185, allocations: 29.7 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.5186, allocations: 88.14 kB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.5186, allocations: 3.906 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.5186, allocations: 0 / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5187, allocations: 314.8 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.5189, allocations: 47.95 kB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.519, allocations: 43.91 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.5192, allocations: 47.95 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5192, allocations: 0 / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000336/0.5195, allocations: 125.5 kB / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5196, allocations: 4 kB / 1.378 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5196, allocations: 0 / 1.378 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5196, allocations: 0 / 1.378 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.5197, allocations: 23.97 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5198, allocations: 4 kB / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.206e-05/0.5199, allocations: 19.92 kB / 1.378 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5199, allocations: 3.953 kB / 1.378 GB, free: 0.5469 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.928e-05/0.52, allocations: 114.6 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.52, allocations: 0 / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.5204, allocations: 133.5 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5204, allocations: 4 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.5204, allocations: 0 / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5204, allocations: 4.312 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.5206, allocations: 173.6 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5206, allocations: 0 / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.5208, allocations: 23.98 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5208, allocations: 0 / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5208, allocations: 3.984 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5208, allocations: 4.312 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5208, allocations: 4 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.5213, allocations: 219.3 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.5213, allocations: 77.11 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.5213, allocations: 7.938 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.5215, allocations: 15.98 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.5215, allocations: 7.984 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.5215, allocations: 4 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.5216, allocations: 87.27 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5216, allocations: 4 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000206/0.5218, allocations: 4 kB / 1.379 GB, free: 15.57 MB / 0.8855 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 (3): * Single equations (assignments): 3 * 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.0001744/0.522, allocations: 103.2 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.5224, allocations: 87.92 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5224, allocations: 0 / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.5225, allocations: 51.91 kB / 1.379 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.5228, allocations: 16.8 kB / 1.379 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.5232, allocations: 128.1 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5234, allocations: 0.6848 MB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.5235, allocations: 3.984 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.5235, allocations: 15.38 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5235, allocations: 0 / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of Templates: time 0.002675/0.5262, allocations: 0.5115 MB / 1.381 GB, free: 13.93 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches