Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001554/0.001554, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.00167/0.00167, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.493/1.493, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.561/2.561, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 64.09 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3398, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00403/0.3439, allocations: 2.023 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.3459, allocations: 1.201 MB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.346, allocations: 3.938 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.3465, allocations: 155.5 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.3469, allocations: 159.4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.3474, allocations: 226.2 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.3478, allocations: 315.2 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.348, allocations: 44.38 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3482, allocations: 143.4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.3484, allocations: 151.4 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.3485, allocations: 16 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.3486, allocations: 59.97 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3488, allocations: 83.73 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.3489, allocations: 127.1 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.3493, allocations: 362.7 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3493, allocations: 0 / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3493, allocations: 0 / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.3493, allocations: 0 / 1.032 GB, free: 12.96 MB / 0.8106 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.0009508/0.3503, allocations: 0.6263 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3504, allocations: 12.03 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.3504, allocations: 36.56 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.351, allocations: 374.1 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.351, allocations: 8 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.351, allocations: 4 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.3513, allocations: 117.5 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3513, allocations: 0 / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3513, allocations: 0 / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3514, allocations: 4 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.3516, allocations: 63.95 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.3524, allocations: 492.3 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.3527, allocations: 142.7 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3529, allocations: 48.84 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3529, allocations: 3.984 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.3531, allocations: 111.3 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3532, allocations: 4 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005374/0.3537, allocations: 224.3 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3538, allocations: 63.34 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.3543, allocations: 0.5015 MB / 1.034 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3544, allocations: 33.7 kB / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.3545, allocations: 160.5 kB / 1.035 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.3545, allocations: 35.55 kB / 1.035 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/0.3546, allocations: 77.81 kB / 1.035 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3548, allocations: 346.8 kB / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.355, allocations: 100.5 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.3552, allocations: 136.1 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.3555, allocations: 183.5 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3555, allocations: 4 kB / 1.035 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005245/0.3561, allocations: 317.2 kB / 1.036 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3561, allocations: 7.938 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3561, allocations: 7.938 kB / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3561, allocations: 0 / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.3564, allocations: 51.97 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3564, allocations: 4 kB / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3565, allocations: 27.83 kB / 1.036 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.3566, allocations: 15.94 kB / 1.036 GB, free: 8.445 MB / 0.8106 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.0001995/0.3568, allocations: 177.8 kB / 1.036 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.3568, allocations: 35.61 kB / 1.036 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.3569, allocations: 39.06 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3569, allocations: 0 / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3569, allocations: 3.938 kB / 1.036 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3569, allocations: 0 / 1.036 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.3572, allocations: 309.3 kB / 1.036 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3572, allocations: 4 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.3573, allocations: 12 kB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3573, allocations: 0 / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3573, allocations: 7.922 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3573, allocations: 4 kB / 1.036 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3573, allocations: 0 / 1.036 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.3577, allocations: 200.7 kB / 1.037 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3578, allocations: 108.7 kB / 1.037 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.3579, allocations: 11.94 kB / 1.037 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.358, allocations: 11.98 kB / 1.037 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.3581, allocations: 19.92 kB / 1.037 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3581, allocations: 11.98 kB / 1.037 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003214/0.3584, allocations: 311.1 kB / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3584, allocations: 0 / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002898/0.3587, allocations: 59.89 kB / 1.037 GB, free: 7.047 MB / 0.8106 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.00104/0.3598, allocations: 423.2 kB / 1.037 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.3602, allocations: 191.8 kB / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3602, allocations: 0 / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.3604, allocations: 63.91 kB / 1.038 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.3608, allocations: 93.7 kB / 1.038 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008326/0.3617, allocations: 0.5281 MB / 1.038 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.3621, allocations: 0.7792 MB / 1.039 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.3622, allocations: 58.94 kB / 1.039 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.3623, allocations: 35.42 kB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3623, allocations: 0 / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of Templates: time 0.00836/0.3707, allocations: 4.05 MB / 1.043 GB, free: 0.9883 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches