Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001678/0.001678, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.001927/0.001927, allocations: 187 kB / 17.34 MB, free: 5.719 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.88 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.8654, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003719/0.8691, allocations: 2 MB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.8714, allocations: 1.201 MB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.8717, allocations: 3.938 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.8722, allocations: 167.4 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.8727, allocations: 159.4 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.8734, allocations: 226 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.8739, allocations: 311.2 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.8741, allocations: 48.38 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.8744, allocations: 155.4 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.8747, allocations: 155.4 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.8747, allocations: 12 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.8749, allocations: 51.97 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.8751, allocations: 91.67 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.8752, allocations: 115.2 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.8757, allocations: 376.3 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8757, allocations: 4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8757, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.8757, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 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.001211/0.877, allocations: 0.6224 MB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.877, allocations: 8.625 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.8771, allocations: 32.56 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.8777, allocations: 374 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.8778, allocations: 7.938 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.8778, allocations: 16 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.8781, allocations: 101.6 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.8781, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.8781, allocations: 8 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.8781, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.8783, allocations: 59.95 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.8793, allocations: 0.4964 MB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.8796, allocations: 130.8 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.8798, allocations: 48.78 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.8798, allocations: 3.984 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.8801, allocations: 124.7 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.8801, allocations: 3.938 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005607/0.8806, allocations: 218.6 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.8807, allocations: 51.41 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.8813, allocations: 0.517 MB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.8813, allocations: 33.64 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.8814, allocations: 160.5 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.8815, allocations: 39.55 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.8816, allocations: 69.88 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8817, allocations: 350.8 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.8819, allocations: 96.52 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.8822, allocations: 136.1 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.8825, allocations: 186.5 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8825, allocations: 0 / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005631/0.8831, allocations: 317.2 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.8831, allocations: 10.44 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8831, allocations: 0 / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.8831, allocations: 4 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.8834, allocations: 59.97 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.8834, allocations: 0 / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.8835, allocations: 23.83 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.8836, allocations: 8 kB / 1.176 GB, free: 10.29 MB / 0.9044 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.8838, allocations: 181.7 kB / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.8838, allocations: 43.45 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.8839, allocations: 35.12 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.8839, allocations: 4 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8839, allocations: 0 / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8839, allocations: 4 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.8842, allocations: 293.5 kB / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.8842, allocations: 4 kB / 1.177 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.8843, allocations: 8 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.8843, allocations: 3.938 kB / 1.177 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.8843, allocations: 11.98 kB / 1.177 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8844, allocations: 7.938 kB / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8844, allocations: 0 / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.8847, allocations: 213.5 kB / 1.177 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.8848, allocations: 116.6 kB / 1.177 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.8849, allocations: 7.938 kB / 1.177 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.885, allocations: 7.984 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.8851, allocations: 19.98 kB / 1.177 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.8851, allocations: 7.984 kB / 1.177 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000323/0.8854, allocations: 311.1 kB / 1.178 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8854, allocations: 0 / 1.178 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003022/0.8858, allocations: 63.92 kB / 1.178 GB, free: 8.879 MB / 0.9044 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 (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.001037/0.8868, allocations: 416.8 kB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.8872, allocations: 200.1 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.8873, allocations: 0 / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.8874, allocations: 59.91 kB / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.8879, allocations: 93.3 kB / 1.178 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.8888, allocations: 0.5567 MB / 1.179 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.8892, allocations: 0.7869 MB / 1.18 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.8893, allocations: 35.42 kB / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8893, allocations: 3.938 kB / 1.18 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of Templates: time 0.00793/0.8972, allocations: 4.415 MB / 1.184 GB, free: 2.445 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches