Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.01/0.01, allocations: 99.53 kB / 15.73 MB, free: 6.004 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.00176/0.00176, allocations: 188.8 kB / 16.67 MB, free: 5.926 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.12 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3328, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003405/0.3362, allocations: 2.009 MB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3382, allocations: 1.2 MB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.3383, allocations: 7.938 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.3388, allocations: 167.4 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.3392, allocations: 155.4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.3398, allocations: 222.7 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.3402, allocations: 311.2 kB / 1.225 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3403, allocations: 36.38 kB / 1.225 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.3405, allocations: 159.4 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3407, allocations: 147.4 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.3408, allocations: 16 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3409, allocations: 55.97 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.341, allocations: 87.67 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3411, allocations: 127.1 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.3416, allocations: 370.4 kB / 1.226 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3416, allocations: 3.938 kB / 1.226 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3416, allocations: 0 / 1.226 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.3416, allocations: 0 / 1.226 GB, free: 8.758 MB / 0.9825 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.0009112/0.3425, allocations: 0.6339 MB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3425, allocations: 8.031 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.3426, allocations: 36.7 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.3431, allocations: 390.2 kB / 1.227 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3432, allocations: 4 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3432, allocations: 8 kB / 1.227 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.3434, allocations: 119.2 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3434, allocations: 0 / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3435, allocations: 4 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3435, allocations: 0 / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.3436, allocations: 63.89 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.3445, allocations: 496.5 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.3448, allocations: 130.7 kB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3449, allocations: 48.84 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.345, allocations: 3.984 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.3452, allocations: 107.3 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.3452, allocations: 0 / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005229/0.3458, allocations: 233 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3458, allocations: 55.41 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.3464, allocations: 0.5054 MB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.3464, allocations: 33.7 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3465, allocations: 160.5 kB / 1.228 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.3466, allocations: 43.67 kB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3467, allocations: 69.97 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3468, allocations: 346.8 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.347, allocations: 100.5 kB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.3472, allocations: 131.6 kB / 1.229 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.3475, allocations: 199.4 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3475, allocations: 4 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005065/0.3481, allocations: 317.3 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3481, allocations: 11.94 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3481, allocations: 0 / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3481, allocations: 0 / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3483, allocations: 55.91 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3483, allocations: 4 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3485, allocations: 23.94 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.3485, allocations: 15.94 kB / 1.23 GB, free: 4.227 MB / 0.9825 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.0001832/0.3487, allocations: 185.7 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.3487, allocations: 39.7 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.3488, allocations: 35.12 kB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3488, allocations: 0 / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3488, allocations: 0 / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3488, allocations: 0 / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.3491, allocations: 301.4 kB / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3491, allocations: 4 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.3492, allocations: 16 kB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3492, allocations: 7.922 kB / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3492, allocations: 0 / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3492, allocations: 4 kB / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3492, allocations: 3.938 kB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.3496, allocations: 208.8 kB / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.3497, allocations: 112.9 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.3497, allocations: 11.94 kB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.3498, allocations: 11.98 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.3499, allocations: 11.98 kB / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.35, allocations: 11.98 kB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003861/0.3504, allocations: 311.1 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3504, allocations: 0 / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002903/0.3507, allocations: 63.88 kB / 1.231 GB, free: 2.82 MB / 0.9825 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.001076/0.3517, allocations: 425.7 kB / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.3521, allocations: 175.8 kB / 1.232 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3521, allocations: 0 / 1.232 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3523, allocations: 55.91 kB / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.3527, allocations: 91.64 kB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.3536, allocations: 0.545 MB / 1.232 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.354, allocations: 0.7831 MB / 1.233 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.3541, allocations: 58.94 kB / 1.233 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.3542, allocations: 35.42 kB / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3542, allocations: 0 / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of Templates: time 0.008112/0.3623, allocations: 4.084 MB / 1.237 GB, free: 12.73 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches