Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006035/0.006035, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001143/0.001143, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.673/2.673, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 65.25 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3833, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.001929/0.3853, allocations: 0.667 MB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3865, allocations: 0.7927 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.3865, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.413e-05/0.3866, allocations: 3.938 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.3867, allocations: 7.906 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.861e-05/0.3868, allocations: 4 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.3869, allocations: 15.98 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3871, allocations: 11.98 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.3872, allocations: 15.88 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.3872, allocations: 15.92 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3873, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.3873, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.3873, allocations: 4 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.3873, allocations: 7.938 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.3874, allocations: 31.88 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3875, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3875, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3875, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 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.0006403/0.3881, allocations: 343.4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.3882, allocations: 12.03 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.3882, allocations: 0.9375 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3884, allocations: 164.3 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3885, allocations: 4.375 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3885, allocations: 384 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3887, allocations: 58.11 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3887, allocations: 192 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.3887, allocations: 3.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3887, allocations: 4 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3889, allocations: 35.95 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.3893, allocations: 245 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3895, allocations: 38.5 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.3896, allocations: 28.89 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3896, allocations: 3.938 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3897, allocations: 30.56 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3897, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003827/0.3901, allocations: 81.64 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3901, allocations: 55.53 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.3902, allocations: 101.9 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3902, allocations: 25.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.3903, allocations: 88.12 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3903, allocations: 3.953 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.3904, allocations: 13.72 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3905, allocations: 314.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.3906, allocations: 15.98 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.3907, allocations: 27.91 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3909, allocations: 36.83 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3909, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001921/0.3911, allocations: 65.59 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3911, allocations: 12.09 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3911, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3911, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.3912, allocations: 7.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3913, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.3913, allocations: 12.12 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.3913, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 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.041e-05/0.3914, allocations: 117.7 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3914, allocations: 8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.3915, allocations: 11.11 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3915, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3915, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3915, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.3917, allocations: 157.6 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3917, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.3917, allocations: 11.98 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3917, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.3918, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3918, allocations: 3.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3918, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.392, allocations: 163.5 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.3921, allocations: 85.06 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3921, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.3921, allocations: 7.984 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.3922, allocations: 11.97 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.3922, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.3923, allocations: 83.27 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3923, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002018/0.3925, allocations: 4 kB / 1.092 GB, free: 13.08 MB / 0.8575 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.0001456/0.3926, allocations: 99.25 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3928, allocations: 43.95 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3929, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.3929, allocations: 11.98 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3932, allocations: 11.94 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.3935, allocations: 105.5 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3938, allocations: 0.6768 MB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.3939, allocations: 4.125 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.3939, allocations: 15.38 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.3939, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of Templates: time 0.002712/0.3966, allocations: 446.4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches