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.001558/0.001558, allocations: 108 kB / 15.61 MB, free: 152 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.002094/0.002094, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.655/1.655, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.662/2.662, allocations: 390.2 MB / 0.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8983/0.8997, allocations: 140.3 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.002197/0.9019, allocations: 0.7027 MB / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.9029, allocations: 0.8051 MB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.9029, allocations: 1.375 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.903, allocations: 3.938 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/0.9031, allocations: 3.938 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.652e-05/0.9032, allocations: 14.45 kB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.639e-05/0.9033, allocations: 48.84 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.9034, allocations: 9.641 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.9035, allocations: 21.58 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.9036, allocations: 16.77 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.9036, allocations: 3.125 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.9036, allocations: 3.906 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.9036, allocations: 13.27 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.9037, allocations: 15.47 kB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.67e-05/0.9038, allocations: 43.11 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9038, allocations: 0 / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9038, allocations: 0 / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.9038, allocations: 1.312 kB / 0.9513 GB, free: 7.832 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.000539/0.9044, allocations: 364.6 kB / 0.9516 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.9044, allocations: 10.12 kB / 0.9516 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.9045, allocations: 2.438 kB / 0.9516 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.9046, allocations: 171.1 kB / 0.9518 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.9046, allocations: 9.984 kB / 0.9518 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.9046, allocations: 9.656 kB / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.9049, allocations: 68.2 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9049, allocations: 192 / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.9049, allocations: 7.938 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9049, allocations: 3.938 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.9052, allocations: 63.75 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.9056, allocations: 258.9 kB / 0.9522 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.9058, allocations: 64.69 kB / 0.9522 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.906, allocations: 39.11 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.906, allocations: 1.219 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.9061, allocations: 39.95 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.9061, allocations: 0 / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006337/0.9067, allocations: 133.5 kB / 0.9525 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.9068, allocations: 55.41 kB / 0.9525 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.9069, allocations: 112.5 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.9069, allocations: 25.7 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.9069, allocations: 85.39 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.907, allocations: 13.55 kB / 0.9527 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.907, allocations: 12.69 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.9071, allocations: 320.5 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.9073, allocations: 32.42 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.9074, allocations: 30.53 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.9077, allocations: 70.59 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9077, allocations: 3.938 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003169/0.908, allocations: 102.1 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.9081, allocations: 5.75 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.9081, allocations: 0 / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.9081, allocations: 0 / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.9082, allocations: 22.06 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9083, allocations: 0 / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.722e-05/0.9083, allocations: 11.42 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.9084, allocations: 1.438 kB / 0.9533 GB, free: 5.855 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 6.323e-05/0.9084, allocations: 115.2 kB / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.9085, allocations: 2.281 kB / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.9085, allocations: 9.031 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.9085, allocations: 0 / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9085, allocations: 9.406 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.9085, allocations: 336 / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.9087, allocations: 169.2 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.9087, allocations: 0 / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/0.9088, allocations: 17.89 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9088, allocations: 1.312 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.9088, allocations: 7.984 kB / 0.9536 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.9088, allocations: 1.188 kB / 0.9536 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9088, allocations: 0 / 0.9536 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.9092, allocations: 204 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.9092, allocations: 82.39 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.9093, allocations: 1.438 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.9094, allocations: 10.48 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.9094, allocations: 9.297 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.9095, allocations: 5.812 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.9095, allocations: 85.41 kB / 0.954 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9095, allocations: 0 / 0.954 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002406/0.9098, allocations: 6.156 kB / 0.954 GB, free: 5.125 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.0002684/0.9101, allocations: 101.7 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.9105, allocations: 79.08 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9105, allocations: 0 / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.9107, allocations: 32.62 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.9112, allocations: 11.69 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.9117, allocations: 134.7 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.9121, allocations: 0.683 MB / 0.955 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.862e-05/0.9121, allocations: 1.125 kB / 0.955 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.9122, allocations: 13.56 kB / 0.955 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.9122, allocations: 0 / 0.955 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.004162/0.9163, allocations: 0.6713 MB / 0.9557 GB, free: 3.793 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