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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.0022/0.0022, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 190.2 kB / 16.67 MB, free: 6.57 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.56/1.56, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.02/3.02, allocations: 482.3 MB / 0.7547 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3772, allocations: 162.2 MB / 1.242 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001951/0.3792, allocations: 0.6621 MB / 1.243 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.3802, allocations: 0.7806 MB / 1.243 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.3803, allocations: 8 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.3803, allocations: 7.875 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.3804, allocations: 7.922 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.044e-05/0.3804, allocations: 7.984 kB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.863e-05/0.3805, allocations: 19.98 kB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3807, allocations: 4 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.3807, allocations: 19.86 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.3808, allocations: 8 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3808, allocations: 0 / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.3808, allocations: 8 kB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.3808, allocations: 7.922 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.3809, allocations: 11.94 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.612e-05/0.381, allocations: 19.95 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.381, allocations: 4 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.381, allocations: 0 / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.381, allocations: 0 / 1.243 GB, free: 8.156 MB / 0.9981 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.0004895/0.3815, allocations: 335.5 kB / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3815, allocations: 8.031 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3816, allocations: 20.81 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3817, allocations: 172.3 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3817, allocations: 384 / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.3818, allocations: 384 / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3819, allocations: 50.23 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.382, allocations: 4.125 kB / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.382, allocations: 3.938 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.382, allocations: 0 / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.3822, allocations: 35.97 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.3826, allocations: 245 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3828, allocations: 38.56 kB / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.3829, allocations: 28.83 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.3829, allocations: 4 kB / 1.244 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.383, allocations: 38.48 kB / 1.244 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.383, allocations: 0 / 1.244 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003607/0.3833, allocations: 81.61 kB / 1.244 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.3834, allocations: 51.41 kB / 1.244 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.3835, allocations: 106 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3835, allocations: 29.7 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.3836, allocations: 80.14 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3836, allocations: 7.953 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.3836, allocations: 17.7 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3838, allocations: 310.8 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.3839, allocations: 19.98 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.3839, allocations: 19.92 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3841, allocations: 44.75 kB / 1.245 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3841, allocations: 0 / 1.245 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.3843, allocations: 69.61 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3843, allocations: 5.562 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3844, allocations: 0 / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3844, allocations: 4.094 kB / 1.245 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.3845, allocations: 11.98 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3845, allocations: 0 / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.3845, allocations: 7.984 kB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3846, allocations: 0 / 1.245 GB, free: 6.117 MB / 0.9981 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.477e-05/0.3846, allocations: 114.2 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.3847, allocations: 7.938 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.3847, allocations: 7.125 kB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3847, allocations: 4 kB / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3847, allocations: 0 / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3847, allocations: 0 / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3849, allocations: 165.5 kB / 1.245 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3849, allocations: 4 kB / 1.245 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.385, allocations: 7.984 kB / 1.245 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.385, allocations: 256 / 1.245 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.385, allocations: 0 / 1.245 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.385, allocations: 4 kB / 1.245 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.385, allocations: 4 kB / 1.245 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.3853, allocations: 163.5 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.3853, allocations: 81.11 kB / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3853, allocations: 0 / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.3854, allocations: 7.984 kB / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.3855, allocations: 0 / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.3855, allocations: 0 / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.3855, allocations: 91.25 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3855, allocations: 0 / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002124/0.3857, allocations: 4 kB / 1.246 GB, free: 5.371 MB / 0.9981 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.0001712/0.3859, allocations: 103.2 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.3862, allocations: 35.97 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3862, allocations: 64 / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.3863, allocations: 19.98 kB / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.3866, allocations: 15.86 kB / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.3869, allocations: 105.4 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3872, allocations: 0.6729 MB / 1.247 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.3873, allocations: 0 / 1.247 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3873, allocations: 15.38 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.3873, allocations: 4.062 kB / 1.247 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.002928/0.3902, allocations: 450.3 kB / 1.247 GB, free: 3.902 MB / 0.9981 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