Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 185.7 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008128/0.0008125, allocations: 88.62 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 16.23 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.357, allocations: 131.4 MB / 1.028 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.3573, allocations: 71.97 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001912/0.3592, allocations: 0.6609 MB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3593, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3593, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003855/0.3597, allocations: 339.3 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3597, allocations: 12.03 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.3598, allocations: 7.938 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3599, allocations: 170.9 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3599, allocations: 3.984 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3599, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3601, allocations: 49.69 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3601, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.3601, allocations: 4 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3601, allocations: 3.984 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.3603, allocations: 39.97 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3607, allocations: 276.8 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3609, allocations: 42.5 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3609, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3609, allocations: 38.62 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3609, allocations: 0 / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003601/0.3613, allocations: 93.73 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.3613, allocations: 55.44 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.641e-05/0.3614, allocations: 100.9 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3614, allocations: 25.7 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.3615, allocations: 84.14 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.3615, allocations: 3.906 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.3615, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3616, allocations: 318.8 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.3617, allocations: 23.98 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.203e-05/0.3618, allocations: 23.97 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.117e-05/0.3619, allocations: 19.98 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3619, allocations: 4.062 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/0.3621, allocations: 73.66 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3622, allocations: 6.656 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3622, allocations: 0 / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3622, allocations: 4 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.3623, allocations: 16.03 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3623, allocations: 3.938 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.3624, allocations: 7.984 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3624, allocations: 4 kB / 1.031 GB, free: 9.605 MB / 0.6823 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 (2): * Single equations (assignments): 2 * 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 7.051e-05/0.3625, allocations: 113.8 kB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.3625, allocations: 0 / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.3627, allocations: 92.7 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3628, allocations: 0 / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3628, allocations: 0 / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3628, allocations: 0 / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.3629, allocations: 165.5 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3629, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.363, allocations: 16.02 kB / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.363, allocations: 0 / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.363, allocations: 192 / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.363, allocations: 0 / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3631, allocations: 3.938 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3633, allocations: 183.5 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.3633, allocations: 77.11 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3634, allocations: 0 / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.3634, allocations: 7.984 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3635, allocations: 7.938 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3635, allocations: 4.031 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.3635, allocations: 83.27 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3635, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001952/0.3637, allocations: 8 kB / 1.032 GB, free: 8.758 MB / 0.6823 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 (2): * Single equations (assignments): 2 * 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.0001429/0.3639, allocations: 95.25 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3641, allocations: 51.91 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3641, allocations: 0 / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.3642, allocations: 23.97 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.3644, allocations: 13.33 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.3647, allocations: 108.8 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.365, allocations: 0.6848 MB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.365, allocations: 0 / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.365, allocations: 7.438 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of SimCode: time 7.42e-07/0.3651, allocations: 0 / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of Templates: time 0.002132/0.3672, allocations: 350 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches