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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 387.1 MB / 399.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 184.8 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.3 MB / 0.7872 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 87.95 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.414e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2825, allocations: 142.4 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.92/1.203, allocations: 153.3 MB / 1.362 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.203, allocations: 74.12 kB / 1.362 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02643/1.229, allocations: 11.13 MB / 1.373 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/1.229, allocations: 0 / 1.373 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.647e-05/1.229, allocations: 7.75 kB / 1.373 GB, free: 34.02 MB / 0.8386 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.0006183/1.23, allocations: 0.5188 MB / 1.374 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/1.23, allocations: 15.5 kB / 1.374 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/1.23, allocations: 31 kB / 1.374 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/1.231, allocations: 402 kB / 1.374 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.231, allocations: 3.875 kB / 1.374 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/1.231, allocations: 10.81 kB / 1.374 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/1.231, allocations: 105.6 kB / 1.374 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/1.231, allocations: 3.938 kB / 1.374 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/1.231, allocations: 3.188 kB / 1.374 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/1.231, allocations: 7.844 kB / 1.374 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/1.231, allocations: 58.3 kB / 1.374 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/1.232, allocations: 0.5148 MB / 1.375 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/1.232, allocations: 136.4 kB / 1.375 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/1.232, allocations: 44.64 kB / 1.375 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/1.232, allocations: 5.797 kB / 1.375 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/1.232, allocations: 108.5 kB / 1.375 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/1.232, allocations: 0 / 1.375 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002921/1.233, allocations: 183.6 kB / 1.375 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/1.233, allocations: 55.34 kB / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/1.233, allocations: 467 kB / 1.376 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/1.233, allocations: 34.69 kB / 1.376 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/1.233, allocations: 164.9 kB / 1.376 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/1.233, allocations: 43.8 kB / 1.376 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/1.233, allocations: 3.5 kB / 1.376 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.234, allocations: 353.6 kB / 1.376 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/1.234, allocations: 118.5 kB / 1.376 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/1.234, allocations: 144.2 kB / 1.376 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/1.234, allocations: 121.6 kB / 1.377 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.234, allocations: 0 / 1.377 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004147/1.234, allocations: 359 kB / 1.377 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.235, allocations: 3.844 kB / 1.377 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.235, allocations: 0 / 1.377 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.235, allocations: 11.86 kB / 1.377 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/1.235, allocations: 54.59 kB / 1.377 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.235, allocations: 3.844 kB / 1.377 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/1.235, allocations: 25 kB / 1.377 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/1.235, allocations: 10.55 kB / 1.377 GB, free: 32.11 MB / 0.8386 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.u1,product.u2,product.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 () * 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 7.702e-05/1.235, allocations: 119.8 kB / 1.377 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/1.235, allocations: 34.5 kB / 1.377 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/1.235, allocations: 206.4 kB / 1.377 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.235, allocations: 7.859 kB / 1.377 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.235, allocations: 0 / 1.377 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.235, allocations: 0 / 1.377 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/1.236, allocations: 306.6 kB / 1.378 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.236, allocations: 0 / 1.378 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/1.236, allocations: 17.48 kB / 1.378 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.236, allocations: 3.844 kB / 1.378 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.236, allocations: 2.672 kB / 1.378 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.236, allocations: 3.844 kB / 1.378 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.236, allocations: 11.94 kB / 1.378 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/1.236, allocations: 217.9 kB / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/1.236, allocations: 120.4 kB / 1.378 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/1.236, allocations: 7.219 kB / 1.378 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/1.236, allocations: 9.938 kB / 1.378 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/1.236, allocations: 19.95 kB / 1.378 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/1.236, allocations: 7.859 kB / 1.378 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000266/1.237, allocations: 320.8 kB / 1.378 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.237, allocations: 0 / 1.378 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002807/1.237, allocations: 68.66 kB / 1.378 GB, free: 31.42 MB / 0.8386 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.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.000819/1.238, allocations: 393.3 kB / 1.379 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002829/1.238, allocations: 194.4 kB / 1.379 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.238, allocations: 3.812 kB / 1.379 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/1.238, allocations: 68.08 kB / 1.379 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/1.239, allocations: 79.17 kB / 1.379 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/1.239, allocations: 427.2 kB / 1.38 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/1.239, allocations: 0.7965 MB / 1.38 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001368/1.24, allocations: 54.69 kB / 1.38 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/1.24, allocations: 35.34 kB / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.24, allocations: 0 / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.006395/1.246, allocations: 3.972 MB / 1.384 GB, free: 28.66 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches