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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001343/0.001343, allocations: 115.8 kB / 16.37 MB, free: 6 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.001337/0.001337, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.581/2.581, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 68.55 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3566, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002043/0.3587, allocations: 0.6689 MB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008939/0.3596, allocations: 0.7947 MB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.3596, allocations: 3.938 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.3597, allocations: 4 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.3597, allocations: 7.922 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.107e-05/0.3598, allocations: 7.938 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.167e-05/0.3599, allocations: 27.92 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.36, allocations: 7.984 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.3601, allocations: 4 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.3601, allocations: 15.92 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3601, allocations: 4 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-06/0.3601, allocations: 0 / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.3602, allocations: 4 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.3602, allocations: 11.94 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.631e-05/0.3603, allocations: 27.88 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3603, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3603, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3603, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 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.0004603/0.3608, allocations: 339.5 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3608, allocations: 8.031 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.3608, allocations: 8.844 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.361, allocations: 164.4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.361, allocations: 384 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.361, allocations: 4.312 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3612, allocations: 50.23 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3612, allocations: 192 / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3612, allocations: 7.938 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3612, allocations: 4 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3614, allocations: 31.95 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.3617, allocations: 249 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3619, allocations: 46.42 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.362, allocations: 16.91 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.362, allocations: 0 / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.362, allocations: 42.56 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.362, allocations: 3.938 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000325/0.3624, allocations: 77.55 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3624, allocations: 55.41 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.3625, allocations: 109.8 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3625, allocations: 25.83 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.3626, allocations: 92.14 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3626, allocations: 3.906 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.3627, allocations: 9.719 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3628, allocations: 318.8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.3629, allocations: 15.97 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.3629, allocations: 19.92 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.3631, allocations: 40.89 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3631, allocations: 0 / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001724/0.3633, allocations: 69.59 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3633, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3633, allocations: 3.984 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3633, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.3634, allocations: 19.95 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3634, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.3635, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.3635, allocations: 0 / 1.03 GB, free: 14.4 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 8.05e-05/0.3636, allocations: 125.7 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.3636, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.3636, allocations: 3.125 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3636, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3636, allocations: 4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3637, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3638, allocations: 161.6 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3638, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.3639, allocations: 11.98 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3639, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3639, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3639, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3639, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.3642, allocations: 175.3 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.3642, allocations: 81.05 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3642, allocations: 3.984 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.3643, allocations: 8 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.3643, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3643, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.3644, allocations: 91.55 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3644, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002111/0.3646, allocations: 7.938 kB / 1.031 GB, free: 13.64 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.000142/0.3648, allocations: 99.25 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.365, allocations: 39.95 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.365, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.3651, allocations: 23.98 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3653, allocations: 7.938 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.3656, allocations: 101.6 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.3659, allocations: 0.6845 MB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.3659, allocations: 3.938 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.366, allocations: 7.438 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.366, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of Templates: time 0.002332/0.3683, allocations: 445.5 kB / 1.032 GB, free: 12.18 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 -s cvode -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/jenkins1/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