Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001438/0.001438, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.34 kB / 0.8984 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.362, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002754/0.3649, allocations: 0.7495 MB / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3661, allocations: 0.7845 MB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.3662, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.3662, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.3663, allocations: 3.984 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.017e-05/0.3664, allocations: 8 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.997e-05/0.3665, allocations: 27.86 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.3667, allocations: 4 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.3668, allocations: 8 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.3668, allocations: 15.91 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3669, allocations: 4 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.3669, allocations: 0 / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.3669, allocations: 0 / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.3669, allocations: 15.92 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.367, allocations: 19.91 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3671, allocations: 0 / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.959e-06/0.3671, allocations: 0 / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.3671, allocations: 3.938 kB / 1.054 GB, free: 7.219 MB / 0.8106 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.0006743/0.3678, allocations: 351.7 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.3678, allocations: 8.031 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3679, allocations: 4.844 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.368, allocations: 168.4 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3681, allocations: 384 / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3681, allocations: 4.375 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3683, allocations: 42.25 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3683, allocations: 192 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.3684, allocations: 15.92 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3684, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.3685, allocations: 31.97 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.369, allocations: 244.9 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3692, allocations: 50.53 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.3693, allocations: 20.91 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.3693, allocations: 3.938 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3693, allocations: 30.56 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3693, allocations: 0 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003628/0.3697, allocations: 93.58 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.3698, allocations: 51.41 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3699, allocations: 101.8 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3699, allocations: 29.7 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.3699, allocations: 80.14 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.37, allocations: 7.906 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.37, allocations: 9.719 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3702, allocations: 318.8 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.3703, allocations: 23.95 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.3703, allocations: 15.98 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3705, allocations: 36.83 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3705, allocations: 0 / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.3707, allocations: 77.84 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.3707, allocations: 4 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3708, allocations: 0 / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3708, allocations: 4 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.3709, allocations: 11.98 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3709, allocations: 0 / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.3709, allocations: 11.98 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.371, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 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 9.428e-05/0.3711, allocations: 113.8 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3711, allocations: 4 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.3711, allocations: 3.125 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3711, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3711, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3711, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.3713, allocations: 169.6 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3713, allocations: 4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.3714, allocations: 4 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3714, allocations: 0 / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3714, allocations: 7.984 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3714, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3714, allocations: 7.938 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3717, allocations: 155.4 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.3717, allocations: 89.09 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3718, allocations: 3.984 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.3718, allocations: 8.031 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.3719, allocations: 3.984 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3719, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.372, allocations: 83.22 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.372, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002232/0.3722, allocations: 11.94 kB / 1.056 GB, free: 4.43 MB / 0.8106 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.0001896/0.3724, allocations: 99.25 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3726, allocations: 43.89 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3726, allocations: 7.938 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.826e-05/0.3727, allocations: 11.98 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3731, allocations: 12.8 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.3734, allocations: 111.4 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3737, allocations: 0.677 MB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.3737, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.3738, allocations: 11.44 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.3738, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of Templates: time 0.002409/0.3762, allocations: 372.8 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches