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.006428/0.006428, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001315/0.001315, allocations: 196.6 kB / 16.79 MB, free: 5.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.609/2.609, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 64.55 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3681, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00389/0.3721, allocations: 2.052 MB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.3743, allocations: 1.193 MB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.3745, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.375, allocations: 155.5 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.3754, allocations: 131.6 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.376, allocations: 202.6 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.3764, allocations: 295.2 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3766, allocations: 36.39 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.3769, allocations: 139.3 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.3771, allocations: 143.5 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.3771, allocations: 4 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.3773, allocations: 59.89 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3774, allocations: 75.75 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.3775, allocations: 123.1 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.3779, allocations: 279.7 kB / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3779, allocations: 0 / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3779, allocations: 0 / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3779, allocations: 0 / 1.058 GB, free: 3.363 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.001091/0.379, allocations: 0.6225 MB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3791, allocations: 8.031 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3792, allocations: 40.45 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.3797, allocations: 386 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3797, allocations: 8 kB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.3797, allocations: 12 kB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.38, allocations: 103.5 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.38, allocations: 4 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.38, allocations: 4 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3801, allocations: 4 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3802, allocations: 59.95 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008007/0.3811, allocations: 496.4 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.3814, allocations: 138.6 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3816, allocations: 48.83 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.3816, allocations: 4 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.3818, allocations: 123.4 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/0.3819, allocations: 4 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005546/0.3824, allocations: 221.1 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3825, allocations: 51.41 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.383, allocations: 0.5054 MB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3831, allocations: 25.7 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3832, allocations: 172.4 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.3833, allocations: 35.55 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3834, allocations: 73.88 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3835, allocations: 350.9 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3837, allocations: 100.5 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.384, allocations: 131.6 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.3843, allocations: 180 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3843, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005599/0.3849, allocations: 325.2 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3849, allocations: 4 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3849, allocations: 3.938 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3849, allocations: 4 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.3852, allocations: 55.91 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3852, allocations: 0 / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3853, allocations: 23.89 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.3854, allocations: 12 kB / 1.062 GB, free: 14.84 MB / 0.8262 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.0001779/0.3856, allocations: 177.8 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.3856, allocations: 31.62 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.3857, allocations: 43.05 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3857, allocations: 4 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3857, allocations: 0 / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3857, allocations: 0 / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.386, allocations: 305.2 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.386, allocations: 4 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.3861, allocations: 12 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3861, allocations: 4 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3862, allocations: 7.922 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3862, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3862, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.3866, allocations: 216 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3867, allocations: 112.7 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.3867, allocations: 11.94 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.3868, allocations: 7.984 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.3869, allocations: 19.92 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3869, allocations: 7.984 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003432/0.3873, allocations: 315.1 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3873, allocations: 3.938 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003131/0.3876, allocations: 63.89 kB / 1.063 GB, free: 13.44 MB / 0.8262 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.001049/0.3886, allocations: 409.6 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.3891, allocations: 191.8 kB / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3891, allocations: 4 kB / 1.064 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3893, allocations: 56.84 kB / 1.064 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.3897, allocations: 89.16 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.3907, allocations: 0.6366 MB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3911, allocations: 0.7872 MB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.3912, allocations: 31.42 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3912, allocations: 0 / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.007859/0.399, allocations: 4.377 MB / 1.069 GB, free: 6.984 MB / 0.8262 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