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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002414/0.002414, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002784/0.002784, allocations: 161.7 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.618/1.618, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.096/3.096, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.274e-06/2.274e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.43e-05/3.658e-05, allocations: 9.594 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00376/0.003796, allocations: 2.019 MB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.006423, allocations: 1.289 MB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.006532, allocations: 9.344 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007416/0.007274, allocations: 163.2 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.007781, allocations: 216.3 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.00815, allocations: 164.1 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.008634, allocations: 347.9 kB / 0.8149 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.00878, allocations: 32.92 kB / 0.815 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.009087, allocations: 199.4 kB / 0.8151 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.009342, allocations: 136.3 kB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.009387, allocations: 16.75 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.009532, allocations: 59.91 kB / 0.8153 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.009669, allocations: 96.92 kB / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.009785, allocations: 71.7 kB / 0.8155 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.01031, allocations: 382.6 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01032, allocations: 2.062 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01032, allocations: 0 / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.01032, allocations: 0 / 0.8159 GB, free: 12.9 MB / 0.7761 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.001211/0.01153, allocations: 0.6971 MB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.01159, allocations: 8.031 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.01173, allocations: 41.61 kB / 0.8166 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006459/0.01237, allocations: 311 kB / 0.8169 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.0124, allocations: 9.094 kB / 0.8169 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.01242, allocations: 8 kB / 0.8169 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.01269, allocations: 98.28 kB / 0.817 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.0127, allocations: 0 / 0.817 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.01272, allocations: 0.7188 kB / 0.817 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.01272, allocations: 7.938 kB / 0.817 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.01289, allocations: 52.88 kB / 0.8171 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009741/0.01387, allocations: 0.4995 MB / 0.8176 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.01422, allocations: 127.7 kB / 0.8177 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01433, allocations: 41.05 kB / 0.8177 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.01435, allocations: 0 / 0.8177 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.01461, allocations: 122.2 kB / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.01461, allocations: 0 / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0005721/0.01519, allocations: 205.1 kB / 0.818 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.01525, allocations: 55.34 kB / 0.8181 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.01597, allocations: 0.5422 MB / 0.8186 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.016, allocations: 26.48 kB / 0.8186 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.01626, allocations: 255.2 kB / 0.8189 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.01631, allocations: 37.34 kB / 0.8189 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.01646, allocations: 87.61 kB / 0.819 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003871/0.01685, allocations: 0.5509 MB / 0.8195 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.01702, allocations: 64.53 kB / 0.8196 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.01724, allocations: 121.2 kB / 0.8197 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.01755, allocations: 148.6 kB / 0.8199 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01756, allocations: 0 / 0.8199 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005476/0.0181, allocations: 282.9 kB / 0.8201 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01812, allocations: 12.44 kB / 0.8201 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01813, allocations: 1.688 kB / 0.8201 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.01814, allocations: 0 / 0.8201 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.01837, allocations: 51.91 kB / 0.8202 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.01839, allocations: 7.938 kB / 0.8202 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.01851, allocations: 16.92 kB / 0.8202 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.01855, allocations: 12 kB / 0.8202 GB, free: 8.234 MB / 0.7761 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.0001909/0.01874, allocations: 186.8 kB / 0.8204 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.01881, allocations: 47.75 kB / 0.8204 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.01925, allocations: 194.8 kB / 0.8206 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01925, allocations: 0.5312 kB / 0.8206 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.01926, allocations: 7.938 kB / 0.8206 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01926, allocations: 0.6875 kB / 0.8206 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.01963, allocations: 288.5 kB / 0.8209 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01963, allocations: 0.5312 kB / 0.8209 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.01971, allocations: 16.83 kB / 0.8209 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01972, allocations: 0 / 0.8209 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.01973, allocations: 8.906 kB / 0.8209 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01974, allocations: 0 / 0.8209 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.01974, allocations: 3.984 kB / 0.8209 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.02045, allocations: 237.3 kB / 0.8212 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.02054, allocations: 39.75 kB / 0.8212 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.02059, allocations: 4 kB / 0.8212 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.02068, allocations: 4.656 kB / 0.8212 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.02076, allocations: 19.97 kB / 0.8212 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.0208, allocations: 16.45 kB / 0.8213 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003843/0.02118, allocations: 321 kB / 0.8216 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02118, allocations: 0 / 0.8216 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002966/0.02148, allocations: 55.94 kB / 0.8216 GB, free: 6.75 MB / 0.7761 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 (15): * Single equations (assignments): 11 * 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.002958/0.02444, allocations: 449.2 kB / 0.822 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.02488, allocations: 178 kB / 0.8222 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02488, allocations: 0 / 0.8222 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.02504, allocations: 59.66 kB / 0.8223 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.02554, allocations: 107.6 kB / 0.8224 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008992/0.02644, allocations: 0.4924 MB / 0.8228 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.02665, allocations: 187.7 kB / 0.823 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000151/0.0268, allocations: 49.62 kB / 0.8231 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.02691, allocations: 40.48 kB / 0.8231 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of SimCode: time 6.12e-07/0.02691, allocations: 3.438 kB / 0.8231 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of Templates: time 0.01038/0.03729, allocations: 4.504 MB / 0.8275 GB, free: 0.9375 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 240] 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: 8.467358469963074]