Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0115/0.0115, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.002148/0.002148, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 71.89 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3739, allocations: 159.1 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002832/0.3767, allocations: 0.6748 MB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3782, allocations: 0.794 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.3783, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.3783, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.788e-05/0.3784, allocations: 3.938 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.288e-05/0.3785, allocations: 11.98 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.091e-05/0.3786, allocations: 23.92 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3787, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.3788, allocations: 15.92 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.3789, allocations: 4 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.3789, allocations: 8 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-06/0.3789, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.3789, allocations: 11.92 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.379, allocations: 7.938 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.3791, allocations: 19.95 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3791, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3791, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.3791, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 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.0006134/0.3798, allocations: 344.8 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3798, allocations: 11.97 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.3798, allocations: 12.88 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.38, allocations: 172.3 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.38, allocations: 4.375 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.38, allocations: 4.375 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3802, allocations: 50.23 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3802, allocations: 3.938 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3802, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3803, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.3804, allocations: 39.95 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.3808, allocations: 245 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.381, allocations: 42.44 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.3811, allocations: 24.91 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.3811, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3811, allocations: 38.55 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3811, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004178/0.3815, allocations: 77.61 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3816, allocations: 59.47 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.3816, allocations: 101.8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.3817, allocations: 29.7 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.3817, allocations: 84.14 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.3817, allocations: 3.953 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3818, allocations: 17.7 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3819, allocations: 314.8 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.382, allocations: 15.92 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.3821, allocations: 19.98 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3822, allocations: 40.81 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3822, allocations: 3.938 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001705/0.3824, allocations: 65.61 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3824, allocations: 10.28 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3824, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3824, allocations: 3.984 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.3825, allocations: 8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3825, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.3826, allocations: 11.98 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.3826, allocations: 3.938 kB / 1.224 GB, free: 10.09 MB / 0.9825 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 0.00011/0.3827, allocations: 113.8 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3827, allocations: 3.953 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.3827, allocations: 7.125 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3827, allocations: 0 / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3827, allocations: 0 / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3827, allocations: 7.984 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.3829, allocations: 161.6 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3829, allocations: 0 / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.383, allocations: 7.984 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.383, allocations: 256 / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.383, allocations: 4 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.383, allocations: 4 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.383, allocations: 4 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.3832, allocations: 163.4 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3833, allocations: 81.11 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.3833, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.3834, allocations: 7.984 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.3834, allocations: 4.031 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3834, allocations: 4 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.3835, allocations: 79.28 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3835, allocations: 0 / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000206/0.3837, allocations: 8 kB / 1.225 GB, free: 9.355 MB / 0.9825 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.0002012/0.3839, allocations: 103.2 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3841, allocations: 39.97 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3841, allocations: 0 / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.3842, allocations: 23.92 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3845, allocations: 11.86 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.3848, allocations: 109.3 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.3853, allocations: 0.6806 MB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.3854, allocations: 4.125 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.3854, allocations: 7.438 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3854, allocations: 0 / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of Templates: time 0.002571/0.388, allocations: 447.8 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches