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.001421/0.001421, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001574/0.001574, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.586 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 2.889/2.889, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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 3.737e-06/3.737e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.654e-05/5.028e-05, allocations: 7.219 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.005739/0.005789, allocations: 1.972 MB / 0.8128 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004111/0.009901, allocations: 1.279 MB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.01015, allocations: 3.938 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007397/0.01089, allocations: 164.9 kB / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000903/0.01179, allocations: 215.8 kB / 0.8144 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.01249, allocations: 160.5 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007338/0.01322, allocations: 343 kB / 0.8149 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.01342, allocations: 36.91 kB / 0.8149 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.01394, allocations: 188.1 kB / 0.8151 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.0143, allocations: 141 kB / 0.8152 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.01437, allocations: 16 kB / 0.8152 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.01459, allocations: 59.91 kB / 0.8153 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.01478, allocations: 100.8 kB / 0.8154 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.01497, allocations: 71.72 kB / 0.8154 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000828/0.0158, allocations: 386.6 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.0158, allocations: 1.375 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.0158, allocations: 0 / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.01581, allocations: 0 / 0.8158 GB, free: 13 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.001706/0.01752, allocations: 0.564 MB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.01757, allocations: 15.97 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.01776, allocations: 40.7 kB / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.01865, allocations: 336.1 kB / 0.8167 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.0187, allocations: 13.47 kB / 0.8167 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.01873, allocations: 4 kB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.01917, allocations: 113.5 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.01919, allocations: 0.5312 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.01922, allocations: 9.922 kB / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.01923, allocations: 4 kB / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.01953, allocations: 67.89 kB / 0.8169 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.02083, allocations: 420.2 kB / 0.8173 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.02143, allocations: 132.9 kB / 0.8175 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.02166, allocations: 52.77 kB / 0.8175 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.02168, allocations: 4 kB / 0.8175 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.02209, allocations: 118.8 kB / 0.8176 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.02209, allocations: 3.938 kB / 0.8176 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0009905/0.02308, allocations: 235.5 kB / 0.8179 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.02315, allocations: 55.34 kB / 0.8179 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.02431, allocations: 0.5366 MB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.02435, allocations: 29.7 kB / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.0246, allocations: 169.6 kB / 0.8186 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.02468, allocations: 39.72 kB / 0.8187 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.02489, allocations: 73.95 kB / 0.8187 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002939/0.02518, allocations: 347.4 kB / 0.8191 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.02554, allocations: 100.5 kB / 0.8192 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.02596, allocations: 137.7 kB / 0.8193 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.02661, allocations: 191.3 kB / 0.8195 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.02661, allocations: 1.625 kB / 0.8195 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001115/0.02772, allocations: 350.2 kB / 0.8198 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.02775, allocations: 4.906 kB / 0.8198 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.02776, allocations: 0 / 0.8198 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.02779, allocations: 4 kB / 0.8198 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.02819, allocations: 58.06 kB / 0.8199 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.02821, allocations: 3.938 kB / 0.8199 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.02847, allocations: 15.94 kB / 0.8199 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.02853, allocations: 11.98 kB / 0.8199 GB, free: 8.633 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.0003497/0.02888, allocations: 184.7 kB / 0.8201 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.029, allocations: 39.77 kB / 0.8201 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007708/0.02977, allocations: 216.6 kB / 0.8203 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.02978, allocations: 4 kB / 0.8203 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.02979, allocations: 4.438 kB / 0.8203 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.0298, allocations: 3.984 kB / 0.8203 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.03024, allocations: 226.3 kB / 0.8206 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.03024, allocations: 4 kB / 0.8206 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.03038, allocations: 15.98 kB / 0.8206 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.03039, allocations: 0.9062 kB / 0.8206 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.03041, allocations: 8 kB / 0.8206 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.03041, allocations: 1.688 kB / 0.8206 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.03042, allocations: 3.984 kB / 0.8206 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.0311, allocations: 243 kB / 0.8208 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.03124, allocations: 39.77 kB / 0.8209 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.03131, allocations: 4.5 kB / 0.8209 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.03148, allocations: 9.328 kB / 0.8209 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.0316, allocations: 23.97 kB / 0.8209 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.03163, allocations: 7.938 kB / 0.8209 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007178/0.03235, allocations: 327.7 kB / 0.8212 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.03235, allocations: 0 / 0.8212 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005745/0.03292, allocations: 60.45 kB / 0.8213 GB, free: 7.176 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.002933/0.03586, allocations: 452.8 kB / 0.8217 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00078/0.03664, allocations: 195.8 kB / 0.8219 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.03664, allocations: 1.562 kB / 0.8219 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.03691, allocations: 63.95 kB / 0.822 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.03774, allocations: 99.38 kB / 0.822 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.03931, allocations: 0.5774 MB / 0.8226 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.03965, allocations: 187.8 kB / 0.8228 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002571/0.03991, allocations: 58.94 kB / 0.8228 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.0401, allocations: 36.48 kB / 0.8229 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.0401, allocations: 0 / 0.8229 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of Templates: time 0.01619/0.05629, allocations: 4.527 MB / 0.8273 GB, free: 1.242 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=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: 8.004187543992884]