Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001306/0.001306, allocations: 184.4 kB / 487.4 MB, free: 5.047 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.681/1.681, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009431, allocations: 103.8 kB / 0.9219 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.299e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3007, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.339, allocations: 148.4 MB / 1.351 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.339, allocations: 64.28 kB / 1.351 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005006/1.344, allocations: 1.616 MB / 1.353 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.522e-06/1.344, allocations: 0 / 1.353 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.302e-05/1.344, allocations: 7.906 kB / 1.353 GB, free: 33.89 MB / 0.8386 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.0004406/1.345, allocations: 417.1 kB / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.345, allocations: 12.09 kB / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/1.345, allocations: 16.16 kB / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/1.345, allocations: 208.1 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/1.345, allocations: 3.906 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/1.345, allocations: 8.453 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001778/1.345, allocations: 94.84 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/1.346, allocations: 116.1 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.346, allocations: 0 / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/1.346, allocations: 0 / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/1.346, allocations: 3.969 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/1.347, allocations: 490 kB / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/1.347, allocations: 64.09 kB / 1.354 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/1.347, allocations: 26.95 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/1.347, allocations: 7.828 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/1.347, allocations: 31.08 kB / 1.354 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/1.347, allocations: 5.719 kB / 1.354 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0001943/1.347, allocations: 87.05 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/1.347, allocations: 56.02 kB / 1.354 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/1.347, allocations: 126.1 kB / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/1.347, allocations: 29.39 kB / 1.354 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/1.347, allocations: 117.4 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/1.347, allocations: 34.02 kB / 1.354 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/1.347, allocations: 0.75 kB / 1.354 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.347, allocations: 331.5 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/1.347, allocations: 30.91 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/1.348, allocations: 24.42 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/1.348, allocations: 32.19 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.348, allocations: 0 / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001402/1.348, allocations: 107.5 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.348, allocations: 6.031 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.348, allocations: 3.938 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.348, allocations: 3.938 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/1.348, allocations: 31.52 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.348, allocations: 4.594 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.058e-05/1.348, allocations: 14.17 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/1.348, allocations: 0 / 1.355 GB, free: 32.18 MB / 0.8386 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.537e-05/1.348, allocations: 113.4 kB / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/1.348, allocations: 7.812 kB / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/1.348, allocations: 112.1 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.348, allocations: 8.578 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.348, allocations: 0 / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.348, allocations: 0.7969 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/1.349, allocations: 382.9 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.349, allocations: 0.5156 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/1.349, allocations: 27.66 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.349, allocations: 3.844 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/1.349, allocations: 0.5156 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.349, allocations: 3.938 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/1.349, allocations: 10.48 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/1.349, allocations: 245.7 kB / 1.356 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/1.349, allocations: 93.7 kB / 1.356 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/1.349, allocations: 0.6562 kB / 1.356 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/1.349, allocations: 24.12 kB / 1.356 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/1.349, allocations: 10.89 kB / 1.356 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/1.35, allocations: 4.625 kB / 1.356 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.759e-05/1.35, allocations: 109.5 kB / 1.356 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.35, allocations: 0 / 1.356 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002349/1.35, allocations: 24.62 kB / 1.356 GB, free: 31.3 MB / 0.8386 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.0001513/1.35, allocations: 99.84 kB / 1.356 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001396/1.35, allocations: 68.52 kB / 1.356 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.35, allocations: 4 kB / 1.356 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/1.35, allocations: 34.5 kB / 1.356 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/1.35, allocations: 12.52 kB / 1.356 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/1.351, allocations: 161.8 kB / 1.356 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/1.351, allocations: 0.7154 MB / 1.357 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.57e-05/1.351, allocations: 7.156 kB / 1.357 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/1.351, allocations: 15.56 kB / 1.357 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.351, allocations: 0 / 1.357 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of Templates: time 0.003098/1.354, allocations: 0.7622 MB / 1.358 GB, free: 30.3 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches