Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.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.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 116.7 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.001675/0.001675, allocations: 193.5 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.547/1.547, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.648/2.648, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001612, allocations: 64.69 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3762, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.002692/0.3789, allocations: 0.7001 MB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3802, allocations: 0.818 MB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.3803, allocations: 0 / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.3803, allocations: 3.938 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.749e-05/0.3804, allocations: 7.922 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.672e-05/0.3805, allocations: 11.98 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3806, allocations: 43.92 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3807, allocations: 7.984 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.3808, allocations: 19.92 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.3809, allocations: 23.86 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3809, allocations: 7.938 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.381, allocations: 4 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.381, allocations: 11.97 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.381, allocations: 23.88 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.711e-05/0.3811, allocations: 35.88 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3812, allocations: 0 / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3812, allocations: 0 / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3812, allocations: 0 / 1.028 GB, free: 340 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006538/0.3818, allocations: 360.6 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3819, allocations: 8.031 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.3819, allocations: 8.844 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3821, allocations: 168.3 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3821, allocations: 8.375 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3821, allocations: 384 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.3825, allocations: 70.2 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3825, allocations: 192 / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3825, allocations: 11.88 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3825, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.3829, allocations: 67.92 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.3834, allocations: 264.8 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.3837, allocations: 62.47 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.3839, allocations: 36.92 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3839, allocations: 3.938 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.384, allocations: 42.55 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.384, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0007014/0.3847, allocations: 125.6 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3848, allocations: 51.41 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3849, allocations: 109.8 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.385, allocations: 25.7 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.385, allocations: 88.14 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.3851, allocations: 11.8 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.3851, allocations: 17.72 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3853, allocations: 314.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3855, allocations: 35.95 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.3857, allocations: 31.91 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.386, allocations: 76.78 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.386, allocations: 3.938 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004292/0.3865, allocations: 93.62 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3865, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3865, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.3866, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3867, allocations: 27.91 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3868, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3869, allocations: 11.98 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3869, allocations: 0 / 1.03 GB, free: 14.01 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 (3): * Single equations (assignments): 3 * 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.0001195/0.387, allocations: 121.7 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.3871, allocations: 7.906 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.3871, allocations: 7.906 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3871, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3871, allocations: 4 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3872, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.3874, allocations: 169.6 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3874, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.3876, allocations: 19.98 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3876, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3876, allocations: 3.938 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3876, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.3876, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.3881, allocations: 195.7 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.3882, allocations: 84.95 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3882, allocations: 3.938 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3884, allocations: 16.03 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.3884, allocations: 7.969 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3884, allocations: 8 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.295e-05/0.3885, allocations: 83.28 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3885, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004203/0.3889, allocations: 8 kB / 1.031 GB, free: 13.18 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 (3): * Single equations (assignments): 3 * 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.0002127/0.3892, allocations: 101.8 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.3896, allocations: 71.92 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3896, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.3898, allocations: 35.91 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.3903, allocations: 11.94 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.3907, allocations: 133.5 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3911, allocations: 0.6846 MB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.3911, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.3912, allocations: 11.44 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.3912, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.003899/0.3951, allocations: 0.6711 MB / 1.033 GB, free: 11.4 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches