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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008587/0.0008586, allocations: 98.88 kB / 16.02 MB, free: 76 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.001072/0.001072, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003884, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6907/0.6911, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002365/0.6935, allocations: 1.7 MB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.6954, allocations: 1.174 MB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.6956, allocations: 4 kB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.696, allocations: 151.6 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.6964, allocations: 147.5 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.697, allocations: 199.4 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.6974, allocations: 283.2 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.6976, allocations: 56.36 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.6978, allocations: 127.3 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.698, allocations: 135.4 kB / 1.028 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.698, allocations: 8 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.6982, allocations: 51.91 kB / 1.028 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.6983, allocations: 75.73 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.6984, allocations: 136.8 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.6988, allocations: 289.2 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.6988, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6988, allocations: 4 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.6988, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 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.0009095/0.6997, allocations: 0.572 MB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6998, allocations: 11.98 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.6999, allocations: 32.56 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.7004, allocations: 378.1 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.7004, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.7004, allocations: 16 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.7007, allocations: 104.1 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.7007, allocations: 0 / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.7007, allocations: 4 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7007, allocations: 4 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.7009, allocations: 59.95 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.7017, allocations: 0.4925 MB / 1.03 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.7021, allocations: 134.6 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.7022, allocations: 48.83 kB / 1.03 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.7022, allocations: 8 kB / 1.03 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.7025, allocations: 119.3 kB / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.754e-06/0.7025, allocations: 3.938 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000527/0.703, allocations: 221.3 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.7031, allocations: 51.41 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.7036, allocations: 0.5132 MB / 1.031 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.7037, allocations: 33.69 kB / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.7038, allocations: 160.5 kB / 1.031 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.7038, allocations: 35.55 kB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.7039, allocations: 37.7 kB / 1.031 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.704, allocations: 346.8 kB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.7042, allocations: 100.5 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.7045, allocations: 135.6 kB / 1.032 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.7048, allocations: 178.5 kB / 1.032 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.7048, allocations: 0 / 1.032 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005375/0.7053, allocations: 326.6 kB / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7054, allocations: 4 kB / 1.032 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7054, allocations: 3.938 kB / 1.032 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7054, allocations: 8.062 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.7056, allocations: 55.84 kB / 1.032 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7057, allocations: 0 / 1.032 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.7058, allocations: 23.83 kB / 1.032 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.7058, allocations: 12 kB / 1.032 GB, free: 6.887 MB / 0.7794 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.0001742/0.706, allocations: 177.8 kB / 1.032 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.7061, allocations: 35.61 kB / 1.032 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.7062, allocations: 43.05 kB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7062, allocations: 4 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7062, allocations: 0 / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7062, allocations: 0 / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.7065, allocations: 297.5 kB / 1.033 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7065, allocations: 4 kB / 1.033 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.7065, allocations: 12 kB / 1.033 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.7066, allocations: 4 kB / 1.033 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.7066, allocations: 7.922 kB / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.7066, allocations: 0 / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7066, allocations: 0 / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.707, allocations: 216.5 kB / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-05/0.7071, allocations: 116.7 kB / 1.033 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.7071, allocations: 15.92 kB / 1.033 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.7072, allocations: 4 kB / 1.033 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.7073, allocations: 19.97 kB / 1.033 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.7073, allocations: 4 kB / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003385/0.7077, allocations: 319.1 kB / 1.033 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7077, allocations: 0 / 1.033 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003032/0.708, allocations: 59.94 kB / 1.033 GB, free: 5.48 MB / 0.7794 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.001002/0.709, allocations: 426.1 kB / 1.034 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.7094, allocations: 192 kB / 1.034 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7094, allocations: 0 / 1.034 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.7096, allocations: 64.09 kB / 1.034 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.7101, allocations: 79.7 kB / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.7109, allocations: 0.6441 MB / 1.035 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.7113, allocations: 0.7869 MB / 1.036 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.223e-05/0.7114, allocations: 39.42 kB / 1.036 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7114, allocations: 0 / 1.036 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of Templates: time 0.007098/0.7185, allocations: 4.322 MB / 1.04 GB, free: 15.06 MB / 0.795 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