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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00116/0.00116, allocations: 104.4 kB / 15.99 MB, free: 6.359 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.001211/0.001211, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 469.4 MB / 0.7423 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 64.25 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3354, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004315/0.3398, allocations: 2.052 MB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3422, allocations: 1.169 MB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.3425, allocations: 4 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.343, allocations: 155.6 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.3435, allocations: 143.5 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.3442, allocations: 203 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.3446, allocations: 303.2 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3448, allocations: 52.36 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.3451, allocations: 151.3 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.3454, allocations: 151.4 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.3454, allocations: 16 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.3457, allocations: 59.91 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.3458, allocations: 91.72 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.346, allocations: 127.1 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.3464, allocations: 287.6 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3464, allocations: 0 / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3464, allocations: 0 / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.3464, allocations: 0 / 1.069 GB, free: 10.41 MB / 0.8419 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.001183/0.3476, allocations: 0.6146 MB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3477, allocations: 12.03 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.3478, allocations: 40.55 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.3484, allocations: 378.1 kB / 1.07 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3484, allocations: 15.94 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3484, allocations: 7.984 kB / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3487, allocations: 105.6 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3487, allocations: 3.938 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3487, allocations: 0 / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3487, allocations: 4 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.3489, allocations: 59.95 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009038/0.3498, allocations: 0.4924 MB / 1.07 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.3502, allocations: 138.7 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3504, allocations: 52.83 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.3504, allocations: 4 kB / 1.07 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.3506, allocations: 108.8 kB / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.3507, allocations: 0 / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005618/0.3512, allocations: 221.3 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3513, allocations: 55.41 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.3519, allocations: 0.5093 MB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.3519, allocations: 33.7 kB / 1.071 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3521, allocations: 160.5 kB / 1.071 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.3521, allocations: 35.53 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3522, allocations: 81.86 kB / 1.072 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3524, allocations: 342.8 kB / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3526, allocations: 104.5 kB / 1.072 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.3528, allocations: 135.6 kB / 1.072 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.3532, allocations: 183.7 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3532, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005665/0.3538, allocations: 318.4 kB / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3538, allocations: 10.09 kB / 1.073 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.3538, allocations: 7.938 kB / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3538, allocations: 3.984 kB / 1.073 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.3541, allocations: 47.92 kB / 1.073 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3541, allocations: 7.984 kB / 1.073 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3543, allocations: 15.84 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.3543, allocations: 12 kB / 1.073 GB, free: 5.895 MB / 0.8419 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.0001914/0.3545, allocations: 189.7 kB / 1.073 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.3546, allocations: 31.62 kB / 1.073 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.148e-05/0.3546, allocations: 43.06 kB / 1.073 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3546, allocations: 0 / 1.073 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3547, allocations: 0 / 1.073 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3547, allocations: 0 / 1.073 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.355, allocations: 313.3 kB / 1.073 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.355, allocations: 4 kB / 1.073 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.3551, allocations: 15.98 kB / 1.073 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3551, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3551, allocations: 3.938 kB / 1.073 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3551, allocations: 4 kB / 1.073 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3551, allocations: 4 kB / 1.073 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.3555, allocations: 211.6 kB / 1.074 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.3556, allocations: 108.7 kB / 1.074 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.3557, allocations: 11.92 kB / 1.074 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3558, allocations: 8 kB / 1.074 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.3558, allocations: 15.97 kB / 1.074 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3559, allocations: 8 kB / 1.074 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000348/0.3562, allocations: 319.1 kB / 1.074 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 0 / 1.074 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003081/0.3565, allocations: 59.91 kB / 1.074 GB, free: 4.48 MB / 0.8419 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.001048/0.3576, allocations: 420.3 kB / 1.074 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.358, allocations: 191.8 kB / 1.075 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.358, allocations: 128 / 1.075 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3582, allocations: 75.16 kB / 1.075 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.3587, allocations: 91.88 kB / 1.075 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/0.3596, allocations: 0.6231 MB / 1.075 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.36, allocations: 0.7909 MB / 1.076 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.988e-05/0.3601, allocations: 31.42 kB / 1.076 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.3601, allocations: 4 kB / 1.076 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of Templates: time 0.441/0.8012, allocations: 4.373 MB / 1.08 GB, free: 21.02 MB / 0.8419 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 -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