Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001635/0.001635, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002358/0.002358, allocations: 190 kB / 22.1 MB, free: 5.152 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.526/1.526, allocations: 225.6 MB / 250.8 MB, free: 13.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.4/3.4, allocations: 495.8 MB / 0.783 GB, free: 33.45 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-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 73.98 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4411, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004259/0.4454, allocations: 2.024 MB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.4479, allocations: 1.22 MB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.448, allocations: 11.94 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.4486, allocations: 159.4 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.449, allocations: 159.4 kB / 1.31 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.4496, allocations: 222.3 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.4501, allocations: 323.1 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.4503, allocations: 32.52 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.4505, allocations: 159.4 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.4508, allocations: 171.3 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.4508, allocations: 12 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.451, allocations: 51.98 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.4511, allocations: 95.66 kB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.4513, allocations: 123.2 kB / 1.311 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.4518, allocations: 358.5 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4518, allocations: 3.938 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4518, allocations: 4 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.4518, allocations: 0 / 1.312 GB, free: 12.78 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.001148/0.4529, allocations: 0.5624 MB / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.453, allocations: 8.031 kB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.067e-05/0.4531, allocations: 36.7 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.4537, allocations: 316.5 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.4537, allocations: 11.98 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.4537, allocations: 4 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.454, allocations: 109.6 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.454, allocations: 0 / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.454, allocations: 0 / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.454, allocations: 4 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4542, allocations: 59.86 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009114/0.4551, allocations: 471.5 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.4555, allocations: 126.7 kB / 1.313 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.4556, allocations: 48.83 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.4557, allocations: 4 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.4559, allocations: 111.3 kB / 1.314 GB, free: 10.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.4559, allocations: 4 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0006053/0.4565, allocations: 232.1 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4566, allocations: 63.28 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.4573, allocations: 0.5054 MB / 1.314 GB, free: 9.984 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.4573, allocations: 25.7 kB / 1.314 GB, free: 9.953 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.4575, allocations: 168.5 kB / 1.314 GB, free: 9.781 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.4575, allocations: 43.67 kB / 1.315 GB, free: 9.738 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.4576, allocations: 69.97 kB / 1.315 GB, free: 9.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.4579, allocations: 350.8 kB / 1.315 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.4581, allocations: 96.52 kB / 1.315 GB, free: 9.215 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.4583, allocations: 132.8 kB / 1.315 GB, free: 9.078 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.4587, allocations: 182.5 kB / 1.315 GB, free: 8.891 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4587, allocations: 0 / 1.315 GB, free: 8.891 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006485/0.4593, allocations: 325.3 kB / 1.316 GB, free: 8.566 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4594, allocations: 9.031 kB / 1.316 GB, free: 8.559 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4594, allocations: 7.938 kB / 1.316 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4594, allocations: 0 / 1.316 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.4596, allocations: 51.91 kB / 1.316 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4596, allocations: 3.984 kB / 1.316 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.4598, allocations: 35.94 kB / 1.316 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.4598, allocations: 8 kB / 1.316 GB, free: 8.453 MB / 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.0002146/0.46, allocations: 187.2 kB / 1.316 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.4601, allocations: 39.7 kB / 1.316 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.4605, allocations: 192.7 kB / 1.316 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.4606, allocations: 4 kB / 1.316 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4606, allocations: 0 / 1.316 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4606, allocations: 4 kB / 1.316 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.4609, allocations: 272.6 kB / 1.316 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4609, allocations: 0 / 1.316 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.461, allocations: 15.92 kB / 1.316 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.461, allocations: 7.938 kB / 1.316 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.461, allocations: 0 / 1.316 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.461, allocations: 0 / 1.316 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.461, allocations: 0 / 1.316 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.4614, allocations: 215.8 kB / 1.317 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.4615, allocations: 39.7 kB / 1.317 GB, free: 7.426 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.4615, allocations: 11.94 kB / 1.317 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.4616, allocations: 7.984 kB / 1.317 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.4617, allocations: 15.97 kB / 1.317 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.4617, allocations: 4 kB / 1.317 GB, free: 7.387 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000443/0.4622, allocations: 319.1 kB / 1.317 GB, free: 7.078 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4622, allocations: 4 kB / 1.317 GB, free: 7.074 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002996/0.4625, allocations: 51.94 kB / 1.317 GB, free: 7.023 MB / 1.014 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.001683/0.4642, allocations: 422.1 kB / 1.317 GB, free: 6.758 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.4646, allocations: 180.1 kB / 1.318 GB, free: 6.582 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4646, allocations: 4 kB / 1.318 GB, free: 6.578 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.4648, allocations: 55.91 kB / 1.318 GB, free: 6.523 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.4653, allocations: 97.64 kB / 1.318 GB, free: 6.441 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.4663, allocations: 0.5427 MB / 1.318 GB, free: 5.867 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.4668, allocations: 0.7831 MB / 1.319 GB, free: 5.059 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.467, allocations: 54.95 kB / 1.319 GB, free: 5.008 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.4671, allocations: 31.42 kB / 1.319 GB, free: 4.98 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/0.4671, allocations: 4 kB / 1.319 GB, free: 4.977 MB / 1.014 GB Notification: Performance of Templates: time 0.009671/0.4768, allocations: 4.175 MB / 1.323 GB, free: 0.8398 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.173160249367356]