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.01024/0.01024, allocations: 103.8 kB / 15.74 MB, free: 6.445 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.001994/0.001995, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.8/2.8, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 59.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.402, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.005474/0.4075, allocations: 1.997 MB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003184/0.4108, allocations: 1.197 MB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.4111, allocations: 7.938 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.4118, allocations: 155.5 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005997/0.4125, allocations: 163.3 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.4133, allocations: 215.5 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.414, allocations: 319.1 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.4142, allocations: 44.38 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.4146, allocations: 155.4 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.4149, allocations: 151.4 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.415, allocations: 12 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.4152, allocations: 63.97 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.4154, allocations: 91.61 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.4155, allocations: 119.2 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.4161, allocations: 370.4 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4161, allocations: 0 / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4161, allocations: 0 / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.4161, allocations: 0 / 1.172 GB, free: 1.711 MB / 0.92 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.001239/0.4174, allocations: 0.6455 MB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4174, allocations: 8.031 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.4176, allocations: 32.75 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.4181, allocations: 386.2 kB / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.4182, allocations: 8 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4182, allocations: 4 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.4185, allocations: 109.6 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4185, allocations: 4 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4185, allocations: 0 / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.4185, allocations: 4 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.4187, allocations: 63.86 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.4196, allocations: 0.4886 MB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.4199, allocations: 134.7 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.42, allocations: 48.84 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.4201, allocations: 7.984 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.4203, allocations: 106.8 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.4203, allocations: 4 kB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005165/0.4208, allocations: 229.2 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.4209, allocations: 59.41 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.4214, allocations: 0.5054 MB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.4215, allocations: 25.7 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.4216, allocations: 172.4 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.4216, allocations: 35.73 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4218, allocations: 69.92 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4219, allocations: 354.8 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.4221, allocations: 100.5 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.4223, allocations: 135.6 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.4226, allocations: 188 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4226, allocations: 0 / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005373/0.4232, allocations: 321.3 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4232, allocations: 9.656 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4232, allocations: 0 / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4232, allocations: 4 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.4235, allocations: 51.91 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4235, allocations: 0 / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.4236, allocations: 19.94 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.4237, allocations: 16.06 kB / 1.176 GB, free: 13.18 MB / 0.9356 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.000195/0.4239, allocations: 195.6 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.4239, allocations: 39.7 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.424, allocations: 31.12 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.424, allocations: 4 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.424, allocations: 0 / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.424, allocations: 0 / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.4243, allocations: 305.5 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4243, allocations: 0 / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.4244, allocations: 15.98 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4244, allocations: 7.938 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.4245, allocations: 0 / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4245, allocations: 0 / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4245, allocations: 0 / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.4248, allocations: 220.7 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/0.4249, allocations: 108.9 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.425, allocations: 11.94 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.4251, allocations: 7.984 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.4252, allocations: 15.98 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.4252, allocations: 11.98 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000308/0.4255, allocations: 311.1 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4255, allocations: 3.938 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002848/0.4258, allocations: 63.88 kB / 1.177 GB, free: 11.77 MB / 0.9356 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.000979/0.4268, allocations: 424.2 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.4272, allocations: 195.8 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4272, allocations: 0 / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4273, allocations: 63.91 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.4278, allocations: 82.69 kB / 1.178 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.4286, allocations: 0.5389 MB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.429, allocations: 0.7792 MB / 1.179 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.4291, allocations: 58.92 kB / 1.179 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.4292, allocations: 39.42 kB / 1.179 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.4292, allocations: 0 / 1.179 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of Templates: time 0.008003/0.4372, allocations: 4.082 MB / 1.183 GB, free: 5.66 MB / 0.9356 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/jenkins/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