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.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: 79.03 kB / 19.76 MB, free: 2.031 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.001406/0.001406, allocations: 156.9 kB / 23.01 MB, free: 4.945 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.534/1.534, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.95/2.95, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002396/0.002396, allocations: 75.88 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9838/0.9862, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003467/0.9897, allocations: 1.986 MB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.9918, allocations: 1.271 MB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.9919, allocations: 6.219 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004669/0.9924, allocations: 164.2 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.9928, allocations: 206.1 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.9932, allocations: 165.5 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.9936, allocations: 333.1 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.9937, allocations: 38.09 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.9939, allocations: 150.2 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.9942, allocations: 161.6 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.9942, allocations: 15.62 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.9944, allocations: 61.7 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.9945, allocations: 101.1 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.9947, allocations: 103.8 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.9952, allocations: 387 kB / 1.192 GB, free: 13.19 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9953, allocations: 1.281 kB / 1.192 GB, free: 13.19 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9953, allocations: 0 / 1.192 GB, free: 13.19 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.9953, allocations: 0 / 1.192 GB, free: 13.19 MB / 1.076 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.001026/0.9963, allocations: 0.5786 MB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.9963, allocations: 8.875 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.9964, allocations: 38.03 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.9969, allocations: 320.3 kB / 1.193 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.997, allocations: 7.797 kB / 1.193 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.997, allocations: 10.53 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.9973, allocations: 108.2 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.9973, allocations: 1.125 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.9973, allocations: 4.656 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.9973, allocations: 2.219 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.9975, allocations: 70.58 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000801/0.9983, allocations: 416 kB / 1.193 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.9987, allocations: 135.7 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.9988, allocations: 55.08 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.9988, allocations: 1.125 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.9991, allocations: 112.7 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.9991, allocations: 4 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.000607/0.9997, allocations: 236.3 kB / 1.194 GB, free: 11.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.9997, allocations: 58.5 kB / 1.194 GB, free: 11.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/1, allocations: 0.5326 MB / 1.194 GB, free: 11.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.001, allocations: 32.36 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/1.001, allocations: 172.4 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/1.001, allocations: 36.88 kB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.001, allocations: 68.92 kB / 1.195 GB, free: 11.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/1.001, allocations: 349.2 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/1.001, allocations: 107.7 kB / 1.195 GB, free: 10.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/1.001, allocations: 139.7 kB / 1.195 GB, free: 10.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/1.002, allocations: 192 kB / 1.195 GB, free: 10.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.002, allocations: 1.062 kB / 1.195 GB, free: 10.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005519/1.002, allocations: 332.5 kB / 1.196 GB, free: 10.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.002, allocations: 4.906 kB / 1.196 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.002, allocations: 9.922 kB / 1.196 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.002, allocations: 5.281 kB / 1.196 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/1.002, allocations: 55.8 kB / 1.196 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.002, allocations: 5.719 kB / 1.196 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/1.003, allocations: 21.17 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/1.003, allocations: 9.375 kB / 1.196 GB, free: 10.61 MB / 1.076 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.0001621/1.003, allocations: 184.1 kB / 1.196 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/1.003, allocations: 36.31 kB / 1.196 GB, free: 10.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/1.003, allocations: 220.8 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.003, allocations: 1.219 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.003, allocations: 1.406 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.003, allocations: 1.125 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/1.004, allocations: 230.7 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.004, allocations: 0.7031 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/1.004, allocations: 19.77 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/1.004, allocations: 1.219 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/1.004, allocations: 4.016 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/1.004, allocations: 5.25 kB / 1.196 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.004, allocations: 0.5625 kB / 1.196 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/1.004, allocations: 231.1 kB / 1.197 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/1.004, allocations: 42.31 kB / 1.197 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/1.004, allocations: 1.75 kB / 1.197 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.004, allocations: 14.59 kB / 1.197 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/1.004, allocations: 17.48 kB / 1.197 GB, free: 9.996 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/1.004, allocations: 7.359 kB / 1.197 GB, free: 9.996 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003774/1.005, allocations: 326.7 kB / 1.197 GB, free: 9.848 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.005, allocations: 1.094 kB / 1.197 GB, free: 9.848 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003347/1.005, allocations: 59.8 kB / 1.197 GB, free: 9.836 MB / 1.076 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.001634/1.007, allocations: 470.8 kB / 1.197 GB, free: 9.617 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004445/1.007, allocations: 192 kB / 1.198 GB, free: 9.562 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.007, allocations: 1.094 kB / 1.198 GB, free: 9.562 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/1.007, allocations: 61.52 kB / 1.198 GB, free: 9.547 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/1.008, allocations: 90.41 kB / 1.198 GB, free: 9.523 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/1.009, allocations: 0.5638 MB / 1.198 GB, free: 9.199 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/1.009, allocations: 186.5 kB / 1.199 GB, free: 9.105 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001575/1.009, allocations: 60.59 kB / 1.199 GB, free: 9.094 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/1.009, allocations: 38.91 kB / 1.199 GB, free: 9.082 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/1.009, allocations: 0 / 1.199 GB, free: 9.082 MB / 1.076 GB Notification: Performance of Templates: time 0.01052/1.02, allocations: 4.496 MB / 1.203 GB, free: 8.527 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.2941544969799]