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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 191.4 kB / 22.23 MB, free: 5.102 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.226/3.226, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 66.73 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4169, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004027/0.4209, allocations: 2.024 MB / 1.318 GB, free: 7.688 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002431/0.4233, allocations: 1.224 MB / 1.319 GB, free: 6.461 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.4236, allocations: 7.938 kB / 1.319 GB, free: 6.453 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.000511/0.4241, allocations: 163.4 kB / 1.319 GB, free: 6.293 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.4246, allocations: 159.4 kB / 1.32 GB, free: 6.137 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.4252, allocations: 222.9 kB / 1.32 GB, free: 5.922 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004958/0.4257, allocations: 319.1 kB / 1.32 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.4259, allocations: 40.5 kB / 1.32 GB, free: 5.566 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.4262, allocations: 155.5 kB / 1.32 GB, free: 5.414 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.4265, allocations: 163.3 kB / 1.32 GB, free: 5.254 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.536e-05/0.4265, allocations: 16 kB / 1.32 GB, free: 5.238 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.4267, allocations: 55.97 kB / 1.32 GB, free: 5.184 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.4268, allocations: 91.61 kB / 1.321 GB, free: 5.094 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.4269, allocations: 123.2 kB / 1.321 GB, free: 4.973 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.4275, allocations: 358.4 kB / 1.321 GB, free: 4.621 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.4275, allocations: 3.984 kB / 1.321 GB, free: 4.617 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.323e-06/0.4275, allocations: 0 / 1.321 GB, free: 4.617 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.074e-05/0.4275, allocations: 4 kB / 1.321 GB, free: 4.613 MB / 1.014 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.4287, allocations: 0.5586 MB / 1.322 GB, free: 4.023 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4287, allocations: 12.03 kB / 1.322 GB, free: 4.012 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.4288, allocations: 40.69 kB / 1.322 GB, free: 3.973 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.4295, allocations: 324.4 kB / 1.322 GB, free: 3.633 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.4296, allocations: 4 kB / 1.322 GB, free: 3.629 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.4296, allocations: 8 kB / 1.322 GB, free: 3.621 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.4299, allocations: 109.5 kB / 1.322 GB, free: 3.508 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4299, allocations: 3.938 kB / 1.322 GB, free: 3.504 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.4299, allocations: 7.984 kB / 1.322 GB, free: 3.496 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4299, allocations: 0 / 1.322 GB, free: 3.496 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.4301, allocations: 55.97 kB / 1.322 GB, free: 3.441 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.4312, allocations: 467.5 kB / 1.323 GB, free: 2.941 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.4315, allocations: 134.7 kB / 1.323 GB, free: 2.801 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.4317, allocations: 44.84 kB / 1.323 GB, free: 2.754 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.4317, allocations: 7.984 kB / 1.323 GB, free: 2.746 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.432, allocations: 111.3 kB / 1.323 GB, free: 2.625 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.432, allocations: 0 / 1.323 GB, free: 2.625 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13): time 0.0006889/0.4327, allocations: 228.6 kB / 1.323 GB, free: 2.398 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.4328, allocations: 59.41 kB / 1.323 GB, free: 2.328 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/0.4335, allocations: 0.5093 MB / 1.324 GB, free: 1.809 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.4336, allocations: 29.7 kB / 1.324 GB, free: 1.773 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.4337, allocations: 168.5 kB / 1.324 GB, free: 1.602 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.4338, allocations: 39.69 kB / 1.324 GB, free: 1.562 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.434, allocations: 69.97 kB / 1.324 GB, free: 1.484 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002501/0.4342, allocations: 346.8 kB / 1.324 GB, free: 1.137 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.4344, allocations: 104.5 kB / 1.324 GB, free: 1.035 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.4347, allocations: 132.7 kB / 1.324 GB, free: 0.8984 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.4351, allocations: 190.5 kB / 1.325 GB, free: 0.7031 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4351, allocations: 0 / 1.325 GB, free: 0.7031 MB / 1.014 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006719/0.4357, allocations: 321.3 kB / 1.325 GB, free: 392 kB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4358, allocations: 7.938 kB / 1.325 GB, free: 384 kB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4358, allocations: 4 kB / 1.325 GB, free: 380 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4358, allocations: 0 / 1.325 GB, free: 380 kB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.4361, allocations: 51.91 kB / 1.325 GB, free: 328 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4361, allocations: 64 / 1.325 GB, free: 328 kB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.4362, allocations: 27.88 kB / 1.325 GB, free: 300 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.4363, allocations: 12 kB / 1.325 GB, free: 288 kB / 1.014 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.0002667/0.4365, allocations: 183.1 kB / 1.325 GB, free: 96 kB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.4366, allocations: 43.7 kB / 1.325 GB, free: 52 kB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.4371, allocations: 184.7 kB / 1.325 GB, free: 15.87 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4371, allocations: 4 kB / 1.325 GB, free: 15.86 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.4371, allocations: 4 kB / 1.325 GB, free: 15.86 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4371, allocations: 0 / 1.325 GB, free: 15.86 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.4375, allocations: 268.6 kB / 1.326 GB, free: 15.55 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4375, allocations: 0 / 1.326 GB, free: 15.55 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.4376, allocations: 15.92 kB / 1.326 GB, free: 15.54 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.4376, allocations: 7.875 kB / 1.326 GB, free: 15.53 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4376, allocations: 8 kB / 1.326 GB, free: 15.52 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4376, allocations: 0 / 1.326 GB, free: 15.52 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4376, allocations: 0 / 1.326 GB, free: 15.52 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.4381, allocations: 212.8 kB / 1.326 GB, free: 15.3 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.4381, allocations: 39.7 kB / 1.326 GB, free: 15.26 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.4382, allocations: 15.92 kB / 1.326 GB, free: 15.24 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.4383, allocations: 0 / 1.326 GB, free: 15.24 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.4384, allocations: 23.97 kB / 1.326 GB, free: 15.22 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.4384, allocations: 4 kB / 1.326 GB, free: 15.21 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0004155/0.4388, allocations: 315.1 kB / 1.326 GB, free: 14.91 MB / 1.029 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.4388, allocations: 7.875 kB / 1.326 GB, free: 14.9 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0003266/0.4391, allocations: 59.94 kB / 1.326 GB, free: 14.84 MB / 1.029 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled)
 * 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.001778/0.4409, allocations: 422.5 kB / 1.327 GB, free: 14.58 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0004598/0.4414, allocations: 184.1 kB / 1.327 GB, free: 14.4 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4414, allocations: 0 / 1.327 GB, free: 14.4 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.4415, allocations: 55.91 kB / 1.327 GB, free: 14.34 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.442, allocations: 94.55 kB / 1.327 GB, free: 14.26 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.443, allocations: 0.5388 MB / 1.328 GB, free: 13.7 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.4435, allocations: 0.7792 MB / 1.328 GB, free: 12.89 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001594/0.4436, allocations: 54.94 kB / 1.328 GB, free: 12.84 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.4437, allocations: 31.44 kB / 1.328 GB, free: 12.81 MB / 1.029 GB
Notification: Performance of SimCode: time 4.21e-07/0.4438, allocations: 0 / 1.328 GB, free: 12.81 MB / 1.029 GB
Notification: Performance of Templates: time 0.01037/0.4541, allocations: 4.161 MB / 1.333 GB, free: 8.68 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.156624105758965]