Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00165/0.00165, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.67/2.67, allocations: 390.9 MB / 0.666 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003839, allocations: 8 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8973/0.8977, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002175/0.9, allocations: 1.657 MB / 0.9561 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.9017, allocations: 1.123 MB / 0.9572 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.9018, allocations: 2.938 kB / 0.9572 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.9022, allocations: 143.3 kB / 0.9573 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.9026, allocations: 121.2 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.9031, allocations: 184.8 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.9035, allocations: 267.2 kB / 0.9578 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.9036, allocations: 42.22 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.9038, allocations: 120.8 kB / 0.958 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.904, allocations: 125 kB / 0.9581 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.9041, allocations: 5.5 kB / 0.9581 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.9042, allocations: 43.47 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.9043, allocations: 84.67 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.9044, allocations: 71 kB / 0.9583 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.9047, allocations: 281.6 kB / 0.9586 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9047, allocations: 0 / 0.9586 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9047, allocations: 0 / 0.9586 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.9047, allocations: 1.312 kB / 0.9586 GB, free: 4.582 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007792/0.9055, allocations: 0.5818 MB / 0.9592 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.9055, allocations: 9.75 kB / 0.9592 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.9056, allocations: 34.22 kB / 0.9592 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.906, allocations: 350.1 kB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.9061, allocations: 12.38 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.9061, allocations: 9.359 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.9063, allocations: 108.6 kB / 0.9597 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.9064, allocations: 0.9688 kB / 0.9597 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.9064, allocations: 4.984 kB / 0.9597 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.9064, allocations: 2.062 kB / 0.9597 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.9066, allocations: 62.19 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.9073, allocations: 0.4932 MB / 0.9602 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.9076, allocations: 131 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.9078, allocations: 56.14 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.9078, allocations: 1.375 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.908, allocations: 116.3 kB / 0.9605 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.908, allocations: 0 / 0.9605 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005374/0.9086, allocations: 225.2 kB / 0.9607 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.9086, allocations: 53.41 kB / 0.9608 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.9093, allocations: 0.5117 MB / 0.9613 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.9093, allocations: 27.73 kB / 0.9613 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.9094, allocations: 161.5 kB / 0.9614 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.9094, allocations: 37.42 kB / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.9095, allocations: 6.281 kB / 0.9615 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.9096, allocations: 345 kB / 0.9618 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.9098, allocations: 103.6 kB / 0.9619 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.91, allocations: 126.5 kB / 0.962 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.9101, allocations: 111.2 kB / 0.9621 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.9102, allocations: 3.953 kB / 0.9621 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005106/0.9107, allocations: 322.4 kB / 0.9624 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.9107, allocations: 9.984 kB / 0.9625 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9107, allocations: 5.188 kB / 0.9625 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.9107, allocations: 1.969 kB / 0.9625 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.911, allocations: 50.47 kB / 0.9625 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.911, allocations: 2 kB / 0.9625 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.9111, allocations: 19.44 kB / 0.9625 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.9111, allocations: 15.73 kB / 0.9625 GB, free: 1.539 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.9113, allocations: 183.2 kB / 0.9627 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.9113, allocations: 33.77 kB / 0.9628 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.9114, allocations: 33.47 kB / 0.9628 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.9114, allocations: 2.344 kB / 0.9628 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9114, allocations: 0 / 0.9628 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9114, allocations: 1.625 kB / 0.9628 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.9117, allocations: 303.9 kB / 0.9631 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.9117, allocations: 0 / 0.9631 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.9118, allocations: 17.97 kB / 0.9631 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.9118, allocations: 5.125 kB / 0.9631 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.9118, allocations: 9.281 kB / 0.9631 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9118, allocations: 1.156 kB / 0.9631 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9118, allocations: 1.062 kB / 0.9631 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.9121, allocations: 204.8 kB / 0.9633 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.9122, allocations: 115.6 kB / 0.9634 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.9123, allocations: 9.266 kB / 0.9634 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.9124, allocations: 8.734 kB / 0.9634 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.9124, allocations: 24 kB / 0.9635 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.9124, allocations: 8.422 kB / 0.9635 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000293/0.9127, allocations: 312.2 kB / 0.9638 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9128, allocations: 0 / 0.9638 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002942/0.9131, allocations: 60.09 kB / 0.9638 GB, free: 0.5547 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: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009394/0.914, allocations: 428.6 kB / 0.9642 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.9144, allocations: 186.7 kB / 0.9644 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9144, allocations: 0 / 0.9644 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.9145, allocations: 66.38 kB / 0.9645 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.915, allocations: 81.95 kB / 0.9645 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/0.9159, allocations: 0.5789 MB / 0.9651 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.9163, allocations: 0.7845 MB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.9165, allocations: 55.09 kB / 0.9659 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.9166, allocations: 38.83 kB / 0.966 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.9166, allocations: 1.344 kB / 0.966 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.009679/0.9263, allocations: 3.739 MB / 0.9696 GB, free: 13.19 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches