Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.5 MB / 257 MB, free: 6.934 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.0009931/0.0009931, allocations: 183.3 kB / 316.3 MB, free: 3.27 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.679/1.679, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009621/0.0009621, allocations: 95.11 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.496e-05, allocations: 11.98 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2355, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7715/1.007, allocations: 131.4 MB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.007, allocations: 77.19 kB / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001385/1.009, allocations: 0.5339 MB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/1.009, allocations: 0 / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.009, allocations: 0.6562 kB / 1.014 GB, free: 5.758 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000419/1.009, allocations: 329.1 kB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.009, allocations: 8.031 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/1.009, allocations: 0.875 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/1.01, allocations: 179 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.01, allocations: 0 / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/1.01, allocations: 0 / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.729e-05/1.01, allocations: 10.5 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.397e-05/1.01, allocations: 29.7 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.01, allocations: 0 / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.01, allocations: 0 / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.01, allocations: 0 / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/1.01, allocations: 141.8 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/1.01, allocations: 26.23 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/1.01, allocations: 8.922 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/1.01, allocations: 0 / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/1.01, allocations: 30.56 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.697e-06/1.01, allocations: 3.984 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001302/1.01, allocations: 36.81 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/1.01, allocations: 58.14 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/1.01, allocations: 96.72 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/1.01, allocations: 29.64 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/1.01, allocations: 80.14 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/1.01, allocations: 3.906 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/1.01, allocations: 0 / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.011, allocations: 318.2 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/1.011, allocations: 4 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-06/1.011, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.549e-05/1.011, allocations: 11.75 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.011, allocations: 0 / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.859e-05/1.011, allocations: 37.66 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.011, allocations: 5.406 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.011, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.011, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/1.011, allocations: 11.98 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/1.011, allocations: 0 / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/1.011, allocations: 12.03 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/1.011, allocations: 3.984 kB / 1.016 GB, free: 4.148 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 (1): * Single equations (assignments): 1 * 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.536e-05/1.011, allocations: 103.2 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/1.011, allocations: 3.953 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/1.011, allocations: 11.14 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/1.011, allocations: 7.938 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.011, allocations: 0 / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.011, allocations: 0 / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/1.011, allocations: 130.2 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.011, allocations: 8 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/1.011, allocations: 7.984 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/1.011, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/1.011, allocations: 4 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.011, allocations: 7.891 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.011, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.036e-05/1.011, allocations: 63.64 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/1.012, allocations: 85 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/1.012, allocations: 0 / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/1.012, allocations: 8 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/1.012, allocations: 7.938 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/1.012, allocations: 0 / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.598e-05/1.012, allocations: 79.28 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.012, allocations: 0 / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001702/1.012, allocations: 0 / 1.016 GB, free: 3.559 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 (1): * Single equations (assignments): 1 * 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.0001464/1.012, allocations: 109.8 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.474e-05/1.012, allocations: 7.375 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.012, allocations: 0 / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-05/1.012, allocations: 4 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/1.012, allocations: 6.625 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001838/1.012, allocations: 51.19 kB / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/1.013, allocations: 0.6807 MB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.246e-05/1.013, allocations: 0 / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/1.013, allocations: 7.438 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.013, allocations: 4 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of Templates: time 0.001962/1.015, allocations: 306.9 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches