Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.337/2.337, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001356/0.001356, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.00098/0.0009798, allocations: 91.89 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.561e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3453, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.448, allocations: 154.1 MB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.448, allocations: 78.33 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03099/1.479, allocations: 11.12 MB / 1.38 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.094e-06/1.479, allocations: 4 kB / 1.38 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.998e-05/1.479, allocations: 8 kB / 1.38 GB, free: 6.504 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.0009179/1.48, allocations: 0.5204 MB / 1.381 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.48, allocations: 12.03 kB / 1.381 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/1.48, allocations: 39.58 kB / 1.381 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/1.481, allocations: 399.1 kB / 1.381 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/1.481, allocations: 7.75 kB / 1.381 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/1.481, allocations: 8 kB / 1.381 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/1.481, allocations: 110.2 kB / 1.381 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/1.481, allocations: 0 / 1.381 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/1.481, allocations: 0 / 1.381 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.481, allocations: 3.938 kB / 1.381 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/1.481, allocations: 64.64 kB / 1.381 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/1.482, allocations: 0.5139 MB / 1.382 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/1.482, allocations: 131.7 kB / 1.382 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/1.483, allocations: 52.47 kB / 1.382 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/1.483, allocations: 0 / 1.382 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/1.483, allocations: 110.7 kB / 1.382 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/1.483, allocations: 0 / 1.382 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003926/1.483, allocations: 182.3 kB / 1.382 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/1.483, allocations: 51.41 kB / 1.382 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/1.484, allocations: 477.6 kB / 1.383 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/1.484, allocations: 28.58 kB / 1.383 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/1.484, allocations: 169.9 kB / 1.383 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/1.484, allocations: 40.61 kB / 1.383 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/1.484, allocations: 2.75 kB / 1.383 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.484, allocations: 352.5 kB / 1.383 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/1.485, allocations: 113.8 kB / 1.383 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/1.485, allocations: 147.4 kB / 1.384 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/1.485, allocations: 126.1 kB / 1.384 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.485, allocations: 0 / 1.384 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005472/1.486, allocations: 356.5 kB / 1.384 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.486, allocations: 7.953 kB / 1.384 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.486, allocations: 0 / 1.384 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.486, allocations: 4 kB / 1.384 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/1.486, allocations: 50.91 kB / 1.384 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.486, allocations: 4 kB / 1.384 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/1.486, allocations: 23.33 kB / 1.384 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/1.486, allocations: 15.38 kB / 1.384 GB, free: 2.895 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 0.0001298/1.486, allocations: 128.2 kB / 1.384 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/1.486, allocations: 31.62 kB / 1.384 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/1.487, allocations: 208.4 kB / 1.385 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.487, allocations: 4 kB / 1.385 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.487, allocations: 0 / 1.385 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.487, allocations: 0 / 1.385 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/1.487, allocations: 314.3 kB / 1.385 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.487, allocations: 0 / 1.385 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/1.487, allocations: 19.3 kB / 1.385 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.487, allocations: 4 kB / 1.385 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/1.487, allocations: 4 kB / 1.385 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/1.487, allocations: 11.89 kB / 1.385 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.487, allocations: 0 / 1.385 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/1.488, allocations: 217.4 kB / 1.385 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.488, allocations: 119.1 kB / 1.385 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/1.488, allocations: 4 kB / 1.385 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/1.488, allocations: 7 kB / 1.385 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/1.488, allocations: 27.48 kB / 1.385 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.488, allocations: 4 kB / 1.385 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003987/1.489, allocations: 317.7 kB / 1.386 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.489, allocations: 0 / 1.386 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003533/1.489, allocations: 77.55 kB / 1.386 GB, free: 1.547 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.001183/1.49, allocations: 392 kB / 1.386 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003828/1.49, allocations: 207.5 kB / 1.386 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.491, allocations: 0 / 1.386 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/1.491, allocations: 64.36 kB / 1.386 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/1.491, allocations: 76.95 kB / 1.386 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/1.492, allocations: 423.9 kB / 1.387 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/1.492, allocations: 0.7975 MB / 1.387 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001571/1.493, allocations: 58.92 kB / 1.388 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/1.493, allocations: 35.42 kB / 1.388 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/1.493, allocations: 0 / 1.388 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of Templates: time 0.008325/1.501, allocations: 3.947 MB / 1.391 GB, free: 11.86 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches