Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.478/2.478, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001105/0.001105, allocations: 184 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 0.7915 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008693/0.0008695, allocations: 95.89 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.582e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3452, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.519, allocations: 149.5 MB / 1.365 GB, free: 4.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.519, allocations: 70.89 kB / 1.365 GB, free: 4.441 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001827/1.521, allocations: 0.6007 MB / 1.365 GB, free: 3.879 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.492e-06/1.521, allocations: 0 / 1.365 GB, free: 3.879 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.062e-05/1.521, allocations: 0 / 1.365 GB, free: 3.879 MB / 0.823 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.0004483/1.522, allocations: 326.5 kB / 1.366 GB, free: 3.516 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.522, allocations: 8.031 kB / 1.366 GB, free: 3.508 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/1.522, allocations: 8 kB / 1.366 GB, free: 3.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/1.522, allocations: 174.1 kB / 1.366 GB, free: 3.297 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/1.522, allocations: 4 kB / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/1.522, allocations: 0 / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/1.522, allocations: 37.44 kB / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.522, allocations: 0 / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/1.522, allocations: 0 / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.522, allocations: 3.938 kB / 1.366 GB, free: 3.25 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/1.522, allocations: 11.44 kB / 1.366 GB, free: 3.242 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/1.523, allocations: 276 kB / 1.366 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.564e-05/1.523, allocations: 29.58 kB / 1.366 GB, free: 2.902 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/1.523, allocations: 8.922 kB / 1.366 GB, free: 2.891 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/1.523, allocations: 0 / 1.366 GB, free: 2.891 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.523, allocations: 38.5 kB / 1.366 GB, free: 2.844 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/1.523, allocations: 0 / 1.366 GB, free: 2.844 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001787/1.523, allocations: 41.39 kB / 1.366 GB, free: 2.801 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/1.523, allocations: 51.41 kB / 1.366 GB, free: 2.738 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/1.523, allocations: 101.8 kB / 1.367 GB, free: 2.637 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/1.523, allocations: 25.7 kB / 1.367 GB, free: 2.605 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/1.523, allocations: 90.89 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/1.523, allocations: 3.906 kB / 1.367 GB, free: 2.512 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.523, allocations: 4.031 kB / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.524, allocations: 314.5 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/1.524, allocations: 4 kB / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/1.524, allocations: 9.719 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/1.524, allocations: 4 kB / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.524, allocations: 3.984 kB / 1.367 GB, free: 2.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.598e-05/1.524, allocations: 41.2 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.524, allocations: 13.44 kB / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.524, allocations: 4 kB / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.524, allocations: 0 / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/1.524, allocations: 11.98 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.524, allocations: 0 / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/1.524, allocations: 4 kB / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/1.524, allocations: 7.953 kB / 1.367 GB, free: 2.098 MB / 0.823 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 8.191e-05/1.524, allocations: 112.4 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/1.524, allocations: 3.906 kB / 1.367 GB, free: 1.98 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/1.524, allocations: 7.125 kB / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.524, allocations: 0 / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.524, allocations: 0 / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.524, allocations: 3.375 kB / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/1.524, allocations: 157.6 kB / 1.367 GB, free: 1.777 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.524, allocations: 7.922 kB / 1.367 GB, free: 1.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/1.525, allocations: 8 kB / 1.367 GB, free: 1.762 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.525, allocations: 0 / 1.367 GB, free: 1.762 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/1.525, allocations: 11.94 kB / 1.367 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.525, allocations: 3.938 kB / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.525, allocations: 0 / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/1.525, allocations: 139.2 kB / 1.367 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/1.525, allocations: 77.11 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/1.525, allocations: 0 / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/1.525, allocations: 16.02 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/1.525, allocations: 0 / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/1.525, allocations: 0 / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5e-05/1.525, allocations: 83.03 kB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.31e-07/1.525, allocations: 0 / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002471/1.525, allocations: 7.984 kB / 1.368 GB, free: 1.406 MB / 0.823 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.0002154/1.526, allocations: 103.2 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.777e-05/1.526, allocations: 18.38 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.526, allocations: 4.062 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/1.526, allocations: 8 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/1.526, allocations: 7.453 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/1.526, allocations: 65.17 kB / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/1.526, allocations: 0.677 MB / 1.368 GB, free: 492 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.418e-05/1.527, allocations: 3.906 kB / 1.368 GB, free: 488 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/1.527, allocations: 11.5 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of SimCode: time 4.4e-07/1.527, allocations: 4 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of Templates: time 0.002725/1.529, allocations: 363.6 kB / 1.369 GB, free: 124 kB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches