Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002064/0.002065, allocations: 196.3 kB / 16.25 MB, free: 6.625 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.544/2.544, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.00194, allocations: 63.91 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8649/0.8669, allocations: 140.4 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.002902/0.8699, allocations: 0.7683 MB / 0.9499 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.871, allocations: 0.8008 MB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.871, allocations: 4 kB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.8711, allocations: 3.984 kB / 0.9507 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.8712, allocations: 5.812 kB / 0.9507 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.838e-05/0.8712, allocations: 9.188 kB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.8713, allocations: 41.69 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.8715, allocations: 8 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.8715, allocations: 21.83 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.211e-05/0.8716, allocations: 20.95 kB / 0.9508 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.8716, allocations: 8.75 kB / 0.9508 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.8716, allocations: 2.812 kB / 0.9508 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.8717, allocations: 13.39 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.8717, allocations: 16.02 kB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.667e-05/0.8718, allocations: 37.98 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8718, allocations: 1.219 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.414e-06/0.8718, allocations: 0 / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.8718, allocations: 0 / 0.9508 GB, free: 7.805 MB / 0.7169 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.0005401/0.8724, allocations: 370 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.8724, allocations: 9.094 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.8725, allocations: 3.062 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.8726, allocations: 170.8 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.8726, allocations: 1.875 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.8726, allocations: 5.578 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.8729, allocations: 71.97 kB / 0.9514 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.8729, allocations: 192 / 0.9514 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.8729, allocations: 11.88 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.8729, allocations: 1.375 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.8732, allocations: 67.08 kB / 0.9515 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.8735, allocations: 263.4 kB / 0.9518 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.8737, allocations: 61.36 kB / 0.9518 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.8739, allocations: 38.06 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.8739, allocations: 1.438 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.8739, allocations: 34.5 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8739, allocations: 5.688 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005369/0.8745, allocations: 128.7 kB / 0.952 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.8745, allocations: 52.69 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.8746, allocations: 107.5 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.8747, allocations: 29.7 kB / 0.9522 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.8747, allocations: 85.52 kB / 0.9523 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.8747, allocations: 13.22 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.8748, allocations: 12.47 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.8749, allocations: 320.2 kB / 0.9526 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.875, allocations: 25.84 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.8751, allocations: 41.77 kB / 0.9527 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.8754, allocations: 63.17 kB / 0.9527 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8754, allocations: 3.938 kB / 0.9527 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003105/0.8757, allocations: 109.4 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.8758, allocations: 5.094 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8758, allocations: 0 / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.8758, allocations: 0 / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.8759, allocations: 15.39 kB / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.876, allocations: 0 / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.876, allocations: 10.86 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.8761, allocations: 1.344 kB / 0.9529 GB, free: 5.84 MB / 0.7169 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 8.486e-05/0.8761, allocations: 119.3 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.8762, allocations: 5.469 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.8762, allocations: 9.016 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.8762, allocations: 1.094 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.8762, allocations: 0 / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.8762, allocations: 5.625 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.8764, allocations: 172.8 kB / 0.9532 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8764, allocations: 4.328 kB / 0.9532 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.8765, allocations: 19.03 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8765, allocations: 4 kB / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.8765, allocations: 0 / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8765, allocations: 1.375 kB / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8765, allocations: 0 / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.8769, allocations: 203.3 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.8769, allocations: 82.55 kB / 0.9535 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.8769, allocations: 0.75 kB / 0.9535 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.877, allocations: 15.38 kB / 0.9535 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.8771, allocations: 5.531 kB / 0.9535 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.8771, allocations: 5.719 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.8772, allocations: 85.2 kB / 0.9536 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8772, allocations: 0 / 0.9536 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002163/0.8774, allocations: 10.75 kB / 0.9536 GB, free: 5.098 MB / 0.7169 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.0001767/0.8776, allocations: 101.2 kB / 0.9537 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.8779, allocations: 67.95 kB / 0.9538 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.8779, allocations: 0 / 0.9538 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.878, allocations: 40.2 kB / 0.9538 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.8784, allocations: 13.41 kB / 0.9538 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.8787, allocations: 135.9 kB / 0.9539 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.8789, allocations: 0.6833 MB / 0.9546 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.8789, allocations: 5.266 kB / 0.9546 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.8789, allocations: 13.25 kB / 0.9546 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8789, allocations: 0 / 0.9546 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of Templates: time 0.00282/0.8818, allocations: 0.5688 MB / 0.9552 GB, free: 3.809 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches