Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007202/0.007203, allocations: 100.8 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 191.1 kB / 16.67 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.804/2.804, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 71.89 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 151.6 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001938/0.366, allocations: 0.6633 MB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008986/0.3669, allocations: 0.7965 MB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.3669, allocations: 4 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.367, allocations: 0 / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.3671, allocations: 3.938 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.601e-05/0.3671, allocations: 7.938 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.3672, allocations: 27.92 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3673, allocations: 4 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.928e-05/0.3674, allocations: 11.98 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.3674, allocations: 19.92 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3675, allocations: 0 / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-06/0.3675, allocations: 4 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.3675, allocations: 0 / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.3675, allocations: 11.94 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.716e-05/0.3676, allocations: 31.88 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3676, allocations: 0 / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3676, allocations: 0 / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3677, allocations: 0 / 1.168 GB, free: 5.152 MB / 0.92 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.0005381/0.3682, allocations: 347.4 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3682, allocations: 8.031 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.3683, allocations: 4.891 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3684, allocations: 164.4 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3684, allocations: 384 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3685, allocations: 4.312 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3686, allocations: 50.23 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3687, allocations: 192 / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3687, allocations: 3.938 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3687, allocations: 7.984 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.3688, allocations: 35.95 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.3692, allocations: 241 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3693, allocations: 46.44 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.3694, allocations: 28.89 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3694, allocations: 0 / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3695, allocations: 34.5 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3695, allocations: 7.938 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003317/0.3698, allocations: 81.59 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.3699, allocations: 55.53 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.3699, allocations: 105.8 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.37, allocations: 25.7 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.37, allocations: 84.12 kB / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.37, allocations: 7.953 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3701, allocations: 13.72 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3702, allocations: 314.8 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.3703, allocations: 15.98 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.3703, allocations: 19.97 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3705, allocations: 36.83 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3705, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001723/0.3707, allocations: 73.59 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3707, allocations: 8.094 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3707, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3707, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.3708, allocations: 11.94 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3708, allocations: 3.984 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.3709, allocations: 7.938 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.3709, allocations: 256 / 1.17 GB, free: 3.113 MB / 0.92 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/0.3709, allocations: 109.8 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.371, allocations: 8 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.371, allocations: 11.11 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.371, allocations: 0 / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.371, allocations: 4 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.371, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3712, allocations: 165.6 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3712, allocations: 0 / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.3713, allocations: 7.984 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3713, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.3713, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3713, allocations: 4 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3713, allocations: 4 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.3715, allocations: 167.4 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.3716, allocations: 81.05 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3716, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.3717, allocations: 7.984 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3717, allocations: 4.031 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.3717, allocations: 0 / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.3718, allocations: 87.27 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3718, allocations: 3.938 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002215/0.372, allocations: 4 kB / 1.171 GB, free: 2.363 MB / 0.92 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/0.3722, allocations: 101.1 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3724, allocations: 39.97 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3724, allocations: 0 / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.3725, allocations: 27.91 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3728, allocations: 3.938 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.3731, allocations: 101.4 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3734, allocations: 0.6768 MB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.3735, allocations: 8.125 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.3735, allocations: 7.438 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of SimCode: time 3.2e-07/0.3735, allocations: 0 / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of Templates: time 0.00272/0.3762, allocations: 437.8 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches