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.001405/0.001405, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00175/0.001749, allocations: 195.3 kB / 16.14 MB, free: 6.711 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 65.86 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3799, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003975/0.3839, allocations: 2.068 MB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3859, allocations: 1.177 MB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3861, allocations: 8 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.3866, allocations: 151.6 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.3869, allocations: 139.5 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.3875, allocations: 198.8 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.3879, allocations: 291.2 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.3881, allocations: 48.38 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.3883, allocations: 135.3 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.3885, allocations: 135.5 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.3885, allocations: 8 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.3887, allocations: 55.91 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3888, allocations: 83.72 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.3889, allocations: 119.1 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.3893, allocations: 358.9 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3894, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3894, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3894, allocations: 0 / 1.057 GB, free: 3.883 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.001036/0.3904, allocations: 0.6186 MB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3905, allocations: 8.031 kB / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.3906, allocations: 36.47 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.3911, allocations: 378.1 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.3911, allocations: 11.98 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3911, allocations: 12 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.3914, allocations: 99.19 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3914, allocations: 4 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3914, allocations: 0 / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3914, allocations: 0 / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3916, allocations: 63.95 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/0.3924, allocations: 0.4886 MB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.3927, allocations: 134.7 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3929, allocations: 56.77 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.3929, allocations: 4 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.3932, allocations: 115.4 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3932, allocations: 0 / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005506/0.3937, allocations: 225.1 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3938, allocations: 59.34 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.3943, allocations: 0.5093 MB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3944, allocations: 25.7 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3945, allocations: 168.4 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.3945, allocations: 31.56 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3946, allocations: 73.86 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3948, allocations: 346.8 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.395, allocations: 104.5 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3952, allocations: 139.6 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.3955, allocations: 179 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3956, allocations: 0 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005365/0.3961, allocations: 321.2 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3961, allocations: 7.984 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3961, allocations: 3.938 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3962, allocations: 4 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.3964, allocations: 55.91 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3964, allocations: 0 / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.3966, allocations: 23.84 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.3966, allocations: 11.98 kB / 1.061 GB, free: 15.38 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.0001967/0.3968, allocations: 183.3 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.3969, allocations: 31.62 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.397, allocations: 39 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.397, allocations: 4 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.397, allocations: 0 / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.397, allocations: 0 / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.3973, allocations: 309.3 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3973, allocations: 0 / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.3974, allocations: 11.98 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3974, allocations: 7.984 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3974, allocations: 7.938 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3974, allocations: 0 / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3974, allocations: 0 / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.3978, allocations: 211.6 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.3979, allocations: 108.7 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.3979, allocations: 15.92 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.398, allocations: 0 / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.3981, allocations: 23.97 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3981, allocations: 4 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003359/0.3985, allocations: 319.1 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3985, allocations: 0 / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002962/0.3988, allocations: 59.91 kB / 1.062 GB, free: 13.98 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.00106/0.3999, allocations: 420.9 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.4003, allocations: 195.8 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4003, allocations: 0 / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.4004, allocations: 55.97 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.4009, allocations: 90.2 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.4018, allocations: 0.5968 MB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.4021, allocations: 0.795 MB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.4023, allocations: 50.95 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.4023, allocations: 31.42 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4024, allocations: 4 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.007895/0.4103, allocations: 3.866 MB / 1.068 GB, free: 8.031 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/jenkins/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