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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01041/0.01041, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.696/2.696, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004068, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7927/0.7931, allocations: 142.4 MB / 0.9551 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002982/0.7961, allocations: 1.694 MB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.7984, allocations: 1.158 MB / 0.9578 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.7987, allocations: 5.156 kB / 0.9578 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.7993, allocations: 149.8 kB / 0.958 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005492/0.7998, allocations: 142.7 kB / 0.9581 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.8007, allocations: 199.8 kB / 0.9583 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.8012, allocations: 293 kB / 0.9586 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.8014, allocations: 50.7 kB / 0.9586 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.8018, allocations: 122.5 kB / 0.9588 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.8021, allocations: 139.8 kB / 0.9589 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.8021, allocations: 5.469 kB / 0.9589 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.8023, allocations: 46.91 kB / 0.9589 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.8025, allocations: 85.17 kB / 0.959 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.8026, allocations: 139.4 kB / 0.9592 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.8031, allocations: 352.3 kB / 0.9595 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8031, allocations: 0 / 0.9595 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8032, allocations: 0 / 0.9595 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.8032, allocations: 0 / 0.9595 GB, free: 4.391 MB / 0.7169 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.001159/0.8043, allocations: 0.5755 MB / 0.9601 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.8044, allocations: 9.625 kB / 0.9601 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.8045, allocations: 35.67 kB / 0.9601 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.8051, allocations: 363.2 kB / 0.9604 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.8051, allocations: 12.12 kB / 0.9605 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.8051, allocations: 13.48 kB / 0.9605 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.8054, allocations: 105.7 kB / 0.9606 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8054, allocations: 0 / 0.9606 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.8055, allocations: 5.375 kB / 0.9606 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.8055, allocations: 2.75 kB / 0.9606 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.8056, allocations: 62.14 kB / 0.9606 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.8065, allocations: 0.4969 MB / 0.9611 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.8069, allocations: 133.1 kB / 0.9612 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.807, allocations: 51.89 kB / 0.9613 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.8071, allocations: 2.281 kB / 0.9613 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.8073, allocations: 113 kB / 0.9614 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.335e-06/0.8073, allocations: 0.75 kB / 0.9614 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005988/0.8079, allocations: 221.9 kB / 0.9616 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.808, allocations: 57.03 kB / 0.9617 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.8087, allocations: 0.5148 MB / 0.9622 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.8087, allocations: 26.83 kB / 0.9622 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.8089, allocations: 166.1 kB / 0.9624 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.8089, allocations: 37.83 kB / 0.9624 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.861e-05/0.809, allocations: 37.22 kB / 0.9624 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8092, allocations: 344.3 kB / 0.9628 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.8094, allocations: 109.2 kB / 0.9629 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.8097, allocations: 131 kB / 0.963 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.8101, allocations: 180.4 kB / 0.9632 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.8101, allocations: 1.125 kB / 0.9632 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007236/0.8108, allocations: 324.1 kB / 0.9635 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.8109, allocations: 12.88 kB / 0.9635 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8109, allocations: 5 kB / 0.9635 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.8109, allocations: 2.438 kB / 0.9635 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.8112, allocations: 51.06 kB / 0.9635 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.8112, allocations: 6.703 kB / 0.9635 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.8114, allocations: 14.28 kB / 0.9636 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.8115, allocations: 11.69 kB / 0.9636 GB, free: 1.262 MB / 0.7169 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.0002139/0.8117, allocations: 183 kB / 0.9637 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.8118, allocations: 39.03 kB / 0.9638 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-05/0.8119, allocations: 40.66 kB / 0.9638 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8119, allocations: 1.375 kB / 0.9638 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.8119, allocations: 1.312 kB / 0.9638 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8119, allocations: 0 / 0.9638 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.8123, allocations: 296.5 kB / 0.9641 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.8123, allocations: 0 / 0.9641 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.592e-05/0.8124, allocations: 18.86 kB / 0.9641 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.8124, allocations: 1.25 kB / 0.9641 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.8125, allocations: 13.11 kB / 0.9641 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8125, allocations: 5.281 kB / 0.9641 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8125, allocations: 0 / 0.9641 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.8129, allocations: 211.2 kB / 0.9643 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.813, allocations: 117.9 kB / 0.9645 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.8131, allocations: 6.844 kB / 0.9645 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.8132, allocations: 8.438 kB / 0.9645 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.8133, allocations: 19.22 kB / 0.9645 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.8133, allocations: 8.656 kB / 0.9645 GB, free: 476 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004841/0.8138, allocations: 319.1 kB / 0.9648 GB, free: 288 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8138, allocations: 0 / 0.9648 GB, free: 288 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004184/0.8142, allocations: 56.27 kB / 0.9649 GB, free: 276 kB / 0.7169 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.001521/0.8158, allocations: 426 kB / 0.9653 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006554/0.8164, allocations: 189.2 kB / 0.9654 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.8165, allocations: 4.062 kB / 0.9654 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.8167, allocations: 63.8 kB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.8174, allocations: 79.34 kB / 0.9656 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.8188, allocations: 0.6023 MB / 0.9662 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.8194, allocations: 0.7966 MB / 0.9669 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.8196, allocations: 47.3 kB / 0.967 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.8198, allocations: 30.86 kB / 0.967 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8198, allocations: 4 kB / 0.967 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.009422/0.8292, allocations: 3.816 MB / 0.9708 GB, free: 12.85 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches