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.001459/0.001459, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002474/0.002474, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.572/1.572, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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.899/2.899, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 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.685e-06/2.685e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.32e-05, allocations: 5.234 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003923/0.003956, allocations: 1.968 MB / 0.9834 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.006857, allocations: 1.282 MB / 0.9846 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.006998, allocations: 7.938 kB / 0.9846 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.007502, allocations: 163.3 kB / 0.9848 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.008046, allocations: 211 kB / 0.985 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.008443, allocations: 159.5 kB / 0.9851 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.008938, allocations: 350.9 kB / 0.9855 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.009106, allocations: 36.84 kB / 0.9855 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.009408, allocations: 191.5 kB / 0.9857 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.009669, allocations: 147.6 kB / 0.9858 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.00972, allocations: 19.94 kB / 0.9859 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.009896, allocations: 55.97 kB / 0.9859 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.01006, allocations: 91.67 kB / 0.986 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.01019, allocations: 79.7 kB / 0.9861 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007297/0.01092, allocations: 374.7 kB / 0.9864 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.01092, allocations: 4 kB / 0.9864 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.023e-06/0.01093, allocations: 0 / 0.9864 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.01094, allocations: 0 / 0.9864 GB, free: 5.812 MB / 0.8887 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.001215/0.01215, allocations: 0.5702 MB / 0.987 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 0.000115/0.01227, allocations: 8.031 kB / 0.987 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.565e-05/0.01236, allocations: 40.66 kB / 0.987 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.01293, allocations: 316.2 kB / 0.9873 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.01295, allocations: 16.03 kB / 0.9874 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.01298, allocations: 11.94 kB / 0.9874 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.01332, allocations: 109.6 kB / 0.9875 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.01333, allocations: 0 / 0.9875 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.01335, allocations: 4 kB / 0.9875 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.01335, allocations: 0 / 0.9875 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.01354, allocations: 67.95 kB / 0.9875 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.0144, allocations: 432.1 kB / 0.9879 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.01478, allocations: 134.7 kB / 0.9881 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.01491, allocations: 48.81 kB / 0.9881 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.01494, allocations: 8 kB / 0.9881 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.0152, allocations: 103.3 kB / 0.9882 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.0152, allocations: 8 kB / 0.9882 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0006133/0.01581, allocations: 241 kB / 0.9885 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.01587, allocations: 55.34 kB / 0.9885 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000668/0.01654, allocations: 0.5366 MB / 0.989 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.01657, allocations: 29.7 kB / 0.9891 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.01673, allocations: 172.5 kB / 0.9892 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.01677, allocations: 31.73 kB / 0.9893 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.01689, allocations: 77.91 kB / 0.9893 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.01709, allocations: 350.8 kB / 0.9897 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.0173, allocations: 100.5 kB / 0.9898 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.01753, allocations: 140.2 kB / 0.9899 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.01792, allocations: 190.9 kB / 0.9901 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01792, allocations: 4 kB / 0.9901 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006479/0.01857, allocations: 334.3 kB / 0.9904 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.01859, allocations: 8 kB / 0.9904 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.0186, allocations: 4 kB / 0.9904 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.01862, allocations: 8 kB / 0.9904 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.01893, allocations: 47.91 kB / 0.9905 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.01894, allocations: 7.938 kB / 0.9905 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.01908, allocations: 15.89 kB / 0.9905 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.01912, allocations: 15.98 kB / 0.9905 GB, free: 1.441 MB / 0.8887 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.0002161/0.01933, allocations: 185.7 kB / 0.9907 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.01939, allocations: 35.77 kB / 0.9907 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.01987, allocations: 204.8 kB / 0.9909 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01987, allocations: 0 / 0.9909 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.01988, allocations: 7.938 kB / 0.9909 GB, free: 1 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01989, allocations: 0 / 0.9909 GB, free: 1 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.02019, allocations: 237.1 kB / 0.9912 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.02019, allocations: 0 / 0.9912 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.02028, allocations: 23.92 kB / 0.9912 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.02029, allocations: 0 / 0.9912 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.02031, allocations: 8 kB / 0.9912 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02031, allocations: 0 / 0.9912 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02031, allocations: 0 / 0.9912 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.02074, allocations: 235.9 kB / 0.9914 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.02081, allocations: 43.75 kB / 0.9914 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.02086, allocations: 0 / 0.9914 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.02096, allocations: 11.98 kB / 0.9915 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.02105, allocations: 19.97 kB / 0.9915 GB, free: 396 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.02106, allocations: 7.938 kB / 0.9915 GB, free: 388 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003976/0.02146, allocations: 331.1 kB / 0.9918 GB, free: 64 kB / 0.8887 GB Notification: Performance of sort global known variables: time 7e-08/0.02146, allocations: 0 / 0.9918 GB, free: 64 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003027/0.02176, allocations: 59.92 kB / 0.9919 GB, free: 4 kB / 0.8887 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.001752/0.02352, allocations: 461.4 kB / 0.9923 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.02399, allocations: 191.8 kB / 0.9925 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02399, allocations: 0 / 0.9925 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.02416, allocations: 63.91 kB / 0.9925 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.02468, allocations: 97.94 kB / 0.9926 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.02589, allocations: 0.5503 MB / 0.9932 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.02613, allocations: 195.8 kB / 0.9934 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.02629, allocations: 58.94 kB / 0.9934 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.02641, allocations: 36.48 kB / 0.9935 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.02641, allocations: 0 / 0.9935 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of Templates: time 0.0105/0.03691, allocations: 4.493 MB / 0.9978 GB, free: 10.09 MB / 0.9044 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.51620528101921]