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.009575/0.009575, allocations: 103.3 kB / 15.73 MB, free: 6.012 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.001944/0.001944, allocations: 195.2 kB / 16.68 MB, free: 5.934 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 65.88 kB / 0.9509 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3734, allocations: 140.4 MB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.002405/0.3758, allocations: 0.6738 MB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3771, allocations: 0.7927 MB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.3771, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.3772, allocations: 3.844 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.3773, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.696e-05/0.3774, allocations: 7.984 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.02e-05/0.3775, allocations: 31.91 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3776, allocations: 8 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.3777, allocations: 7.938 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.3777, allocations: 7.984 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.3778, allocations: 7.938 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.3778, allocations: 0 / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.3778, allocations: 4 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.3779, allocations: 19.86 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.821e-05/0.378, allocations: 19.91 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.378, allocations: 3.938 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.574e-06/0.378, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.378, allocations: 4 kB / 1.09 GB, free: 15.79 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.0005143/0.3785, allocations: 343.4 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3786, allocations: 8.031 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.3786, allocations: 4.938 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3788, allocations: 168.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3788, allocations: 384 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.3788, allocations: 384 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.379, allocations: 54.23 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.379, allocations: 192 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.3791, allocations: 7.938 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3791, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3792, allocations: 35.91 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.3796, allocations: 249 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3798, allocations: 42.5 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.3799, allocations: 16.91 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3799, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3799, allocations: 38.56 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3799, allocations: 0 / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000351/0.3803, allocations: 85.48 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3803, allocations: 55.41 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.3804, allocations: 101.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3805, allocations: 25.7 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.3805, allocations: 88.14 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.3805, allocations: 3.906 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.3806, allocations: 9.719 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3807, allocations: 327 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.3808, allocations: 11.98 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.3809, allocations: 15.98 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.381, allocations: 40.77 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.381, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.3812, allocations: 73.66 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3812, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3813, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3813, allocations: 3.938 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.3814, allocations: 11.98 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3814, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.3815, allocations: 8.234 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3815, allocations: 8.031 kB / 1.091 GB, free: 13.75 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.61e-05/0.3816, allocations: 117.8 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.3816, allocations: 3.938 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.3816, allocations: 3.125 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3816, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3816, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3816, allocations: 7.984 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3818, allocations: 165.5 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3818, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.3819, allocations: 15.94 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.3819, allocations: 3.984 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3819, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3819, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3819, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.3822, allocations: 163.4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.3822, allocations: 81.14 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.3822, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3823, allocations: 8 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3824, allocations: 3.984 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.3824, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.3824, allocations: 79.28 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3824, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000214/0.3827, allocations: 4 kB / 1.092 GB, free: 13.01 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.0001634/0.3828, allocations: 107.2 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.3831, allocations: 39.89 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3831, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.3832, allocations: 15.98 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3835, allocations: 11.94 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.3838, allocations: 113.6 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.3841, allocations: 0.6768 MB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.3842, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.3842, allocations: 7.438 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of SimCode: time 1.693e-06/0.3842, allocations: 3.938 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of Templates: time 0.002954/0.3872, allocations: 460.6 kB / 1.093 GB, free: 11.53 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