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.Line.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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.5 MB / 257 MB, free: 6.941 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.0009384/0.0009382, allocations: 180.5 kB / 316.3 MB, free: 3.254 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.463/1.463, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0008802/0.0008799, allocations: 84.72 kB / 0.6714 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.129e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2457, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8411/1.087, allocations: 131.9 MB / 1.014 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.087, allocations: 73.45 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004106/1.091, allocations: 1.619 MB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/1.091, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.091, allocations: 4.75 kB / 1.016 GB, free: 4.383 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000518/1.092, allocations: 411.3 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.092, allocations: 12.02 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/1.092, allocations: 18.94 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/1.092, allocations: 217 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/1.092, allocations: 4 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/1.092, allocations: 12 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000215/1.093, allocations: 93.86 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/1.093, allocations: 113.9 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.093, allocations: 0 / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/1.093, allocations: 2.734 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/1.093, allocations: 7.938 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/1.094, allocations: 485.1 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/1.094, allocations: 67.45 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/1.094, allocations: 23.8 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/1.094, allocations: 15.3 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.094, allocations: 30.56 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/1.094, allocations: 0 / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002172/1.094, allocations: 91.39 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/1.094, allocations: 58.16 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/1.094, allocations: 127.8 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/1.094, allocations: 25.7 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/1.094, allocations: 118.8 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/1.094, allocations: 35.05 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/1.094, allocations: 0 / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/1.095, allocations: 322.5 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/1.095, allocations: 30.5 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/1.095, allocations: 25.19 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/1.095, allocations: 28.19 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.095, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000146/1.095, allocations: 106.5 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.095, allocations: 8 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.095, allocations: 1.359 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.095, allocations: 0 / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/1.095, allocations: 31.92 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.095, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/1.095, allocations: 23.83 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/1.095, allocations: 0 / 1.018 GB, free: 1.961 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 (13): * Single equations (assignments): 13 * 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.098e-05/1.095, allocations: 112.9 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/1.095, allocations: 7.906 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/1.095, allocations: 108.4 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.096, allocations: 0 / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.096, allocations: 0 / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.096, allocations: 4 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/1.096, allocations: 393 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.096, allocations: 0 / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/1.096, allocations: 27.92 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.096, allocations: 3.438 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/1.096, allocations: 4.094 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.096, allocations: 7.984 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.096, allocations: 0 / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/1.096, allocations: 240.7 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/1.096, allocations: 96.44 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/1.096, allocations: 4 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/1.097, allocations: 19.94 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/1.097, allocations: 7.984 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/1.097, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.231e-05/1.097, allocations: 107.2 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.097, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002367/1.097, allocations: 27.84 kB / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001515/1.097, allocations: 106.7 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001439/1.097, allocations: 65.56 kB / 1.019 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.097, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/1.097, allocations: 34.94 kB / 1.019 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/1.097, allocations: 14.75 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/1.098, allocations: 167.4 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/1.098, allocations: 0.7119 MB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.836e-05/1.098, allocations: 8.75 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/1.098, allocations: 18.86 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.098, allocations: 3.938 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of Templates: time 0.002823/1.101, allocations: 0.7603 MB / 1.021 GB, free: 14.89 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches