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.482/1.482, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 184.8 kB / 316.3 MB, free: 3.207 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.533/1.533, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.001148/0.001148, allocations: 88.53 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.404e-05, allocations: 12 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2593, allocations: 106.3 MB / 0.8852 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.844/1.103, allocations: 131.6 MB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.104, allocations: 75.5 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0018/1.105, allocations: 0.6468 MB / 1.014 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.292e-06/1.106, allocations: 4 kB / 1.014 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.106, allocations: 4 kB / 1.014 GB, free: 5.438 MB / 0.6355 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.0003819/1.106, allocations: 333.7 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.106, allocations: 8.031 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/1.106, allocations: 0 / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/1.106, allocations: 171 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.106, allocations: 0 / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/1.106, allocations: 4 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.909e-05/1.106, allocations: 11.38 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.644e-05/1.106, allocations: 33.69 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.106, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/1.106, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.106, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/1.107, allocations: 255.4 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/1.107, allocations: 33.84 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/1.107, allocations: 8.922 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/1.107, allocations: 0 / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.107, allocations: 37.75 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/1.107, allocations: 0 / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001411/1.107, allocations: 41.14 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/1.107, allocations: 58.14 kB / 1.015 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/1.107, allocations: 92.98 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/1.107, allocations: 25.7 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/1.107, allocations: 82.89 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/1.107, allocations: 4.656 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/1.107, allocations: 0 / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.108, allocations: 326.2 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/1.108, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/1.108, allocations: 11.75 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.941e-05/1.108, allocations: 4 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.108, allocations: 0 / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.514e-05/1.108, allocations: 41.81 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.108, allocations: 11.94 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/1.108, allocations: 0 / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/1.108, allocations: 0 / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.108, allocations: 11.98 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.108, allocations: 4.094 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/1.108, allocations: 8 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/1.108, allocations: 0 / 1.016 GB, free: 3.695 MB / 0.6355 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 (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 6.928e-05/1.108, allocations: 104.9 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/1.108, allocations: 6.422 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/1.108, allocations: 49.16 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/1.108, allocations: 7.984 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.108, allocations: 4.031 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.108, allocations: 0 / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/1.108, allocations: 138.1 kB / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.108, allocations: 3.953 kB / 1.016 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/1.108, allocations: 11.98 kB / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/1.108, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.108, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/1.108, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.108, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/1.109, allocations: 146.7 kB / 1.016 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/1.109, allocations: 85.05 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/1.109, allocations: 0 / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/1.109, allocations: 8 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/1.109, allocations: 3.984 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/1.109, allocations: 0 / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.253e-05/1.109, allocations: 83.31 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.109, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001911/1.109, allocations: 4 kB / 1.017 GB, free: 2.98 MB / 0.6355 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 (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.0001524/1.109, allocations: 99.25 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/1.109, allocations: 14.25 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.109, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/1.109, allocations: 4 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/1.109, allocations: 9.766 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/1.11, allocations: 67.83 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/1.11, allocations: 0.6768 MB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.283e-05/1.11, allocations: 3.984 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/1.11, allocations: 7.438 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.11, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of Templates: time 0.002156/1.112, allocations: 346.7 kB / 1.018 GB, free: 1.73 MB / 0.6355 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