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.00136/0.00136, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001775/0.001775, allocations: 211.5 kB / 22.99 MB, free: 4.984 MB / 14.72 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.401/3.401, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 72.67 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4062, allocations: 176.1 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003843/0.41, allocations: 1.973 MB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.4125, allocations: 1.286 MB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.4126, allocations: 3.938 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.4131, allocations: 171.4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.4136, allocations: 207.2 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.414, allocations: 167.6 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.4144, allocations: 335 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.4146, allocations: 36.86 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.4148, allocations: 155.4 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.415, allocations: 163.3 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.4151, allocations: 16 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.4152, allocations: 63.98 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.4153, allocations: 99.66 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.4155, allocations: 95.27 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.416, allocations: 382.4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.416, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.416, allocations: 3.938 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.416, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 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.001093/0.4171, allocations: 0.5663 MB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4171, allocations: 12.03 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/0.4172, allocations: 44.69 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.4178, allocations: 320.4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.4178, allocations: 11.91 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.4178, allocations: 8 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.4182, allocations: 109.6 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4182, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4182, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4182, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.4184, allocations: 71.89 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009983/0.4194, allocations: 428.2 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.4198, allocations: 134.6 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.42, allocations: 52.83 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.42, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.4203, allocations: 119.3 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.4203, allocations: 0 / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006179/0.4209, allocations: 242.6 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.421, allocations: 55.41 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.4217, allocations: 0.5327 MB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.4217, allocations: 29.7 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4219, allocations: 168.5 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.4219, allocations: 43.67 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.4221, allocations: 73.91 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002635/0.4224, allocations: 350.8 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.4228, allocations: 100.5 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.4231, allocations: 139.6 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.4235, allocations: 191 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4235, allocations: 0 / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000628/0.4241, allocations: 341.3 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4241, allocations: 5.719 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4241, allocations: 4 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.4242, allocations: 3.938 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.4244, allocations: 55.97 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4244, allocations: 0 / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.4246, allocations: 19.94 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.4246, allocations: 12 kB / 1.336 GB, free: 7.535 MB / 1.029 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.0002174/0.4248, allocations: 182.4 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.4249, allocations: 35.77 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.4254, allocations: 216.7 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4254, allocations: 0 / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4254, allocations: 4 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4254, allocations: 7.922 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.4257, allocations: 229.1 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4257, allocations: 3.984 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.595e-05/0.4258, allocations: 23.98 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4258, allocations: 0 / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4258, allocations: 0 / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.4258, allocations: 7.938 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4258, allocations: 0 / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.4262, allocations: 222.6 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.4263, allocations: 39.8 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.4264, allocations: 12 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4265, allocations: 19.8 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.4266, allocations: 23.91 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.4266, allocations: 8 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004933/0.4271, allocations: 323.1 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4271, allocations: 0 / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003251/0.4274, allocations: 67.88 kB / 1.338 GB, free: 6.078 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 (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.001904/0.4293, allocations: 443.6 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.4298, allocations: 187.8 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4298, allocations: 0 / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.43, allocations: 71.88 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.4305, allocations: 97.31 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4317, allocations: 0.5586 MB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.4319, allocations: 187.9 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.4321, allocations: 66.88 kB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.727e-05/0.4322, allocations: 35.42 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.4322, allocations: 0 / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of Templates: time 0.01077/0.443, allocations: 4.761 MB / 1.344 GB, free: 15.9 MB / 1.045 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 -s cvode -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/jenkins1/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: 9.609355869994033]