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.Feedback.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.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.5 MB / 257 MB, free: 7 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.001109/0.001109, allocations: 172.9 kB / 316.3 MB, free: 3.219 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.778/1.778, allocations: 205.3 MB / 0.5671 GB, free: 15.77 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.0009558/0.0009554, allocations: 86.55 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.744e-05, allocations: 12 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2276, allocations: 106.3 MB / 0.8852 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7895/1.017, allocations: 131.6 MB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/1.018, allocations: 68.59 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00228/1.02, allocations: 0.8473 MB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.724e-06/1.02, allocations: 0 / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.277e-06/1.02, allocations: 4 kB / 1.015 GB, free: 5.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004273/1.02, allocations: 353.8 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.02, allocations: 12.03 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/1.02, allocations: 3.906 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.021, allocations: 171 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/1.021, allocations: 0 / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/1.021, allocations: 4 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.058e-05/1.021, allocations: 14.38 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.766e-05/1.021, allocations: 37.14 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.021, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.021, allocations: 4 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.021, allocations: 3.984 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/1.021, allocations: 285.3 kB / 1.015 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.774e-05/1.021, allocations: 36.58 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/1.021, allocations: 15.92 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/1.021, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/1.021, allocations: 33.75 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/1.021, allocations: 0 / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001639/1.022, allocations: 59.05 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/1.022, allocations: 55.41 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/1.022, allocations: 96.62 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/1.022, allocations: 29.7 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/1.022, allocations: 83.14 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/1.022, allocations: 7.891 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/1.022, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.022, allocations: 321.5 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/1.022, allocations: 7.375 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/1.022, allocations: 7.5 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.242e-05/1.022, allocations: 11.38 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.022, allocations: 0 / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.199e-05/1.022, allocations: 56.09 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.022, allocations: 4 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.022, allocations: 0 / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/1.022, allocations: 0 / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/1.022, allocations: 29.41 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/1.022, allocations: 0 / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/1.023, allocations: 23.92 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/1.023, allocations: 0 / 1.016 GB, free: 3.48 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 (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 6.988e-05/1.023, allocations: 104.9 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/1.023, allocations: 4 kB / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/1.023, allocations: 8.219 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.023, allocations: 0 / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.023, allocations: 4 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.023, allocations: 8.016 kB / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/1.023, allocations: 145.2 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.023, allocations: 3.984 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.023, allocations: 23.92 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.023, allocations: 0.625 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/1.023, allocations: 0 / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.023, allocations: 4 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.023, allocations: 320 / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/1.023, allocations: 149.3 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/1.023, allocations: 86.19 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/1.023, allocations: 0 / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/1.023, allocations: 15.98 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/1.023, allocations: 7.484 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/1.023, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.113e-05/1.023, allocations: 94.95 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.023, allocations: 0 / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000201/1.024, allocations: 7.938 kB / 1.017 GB, free: 2.77 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 (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.0001474/1.024, allocations: 103.2 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.745e-05/1.024, allocations: 19.69 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.024, allocations: 0 / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/1.024, allocations: 15.88 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/1.024, allocations: 10.58 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/1.024, allocations: 79.5 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/1.025, allocations: 0.6807 MB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.642e-05/1.025, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/1.025, allocations: 7.438 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.025, allocations: 3.938 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of Templates: time 0.002275/1.027, allocations: 0.4973 MB / 1.018 GB, free: 1.336 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Feedback.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches