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.0009437/0.0009437, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.001098/0.001098, allocations: 173 kB / 23.28 MB, free: 1.223 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 0.9817/0.9817, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.353/2.353, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 3.035e-06/3.035e-06, allocations: 0 / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.764e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003726/0.003754, allocations: 2.041 MB / 0.8917 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.00594, allocations: 1.298 MB / 0.893 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.006105, allocations: 7.938 kB / 0.893 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.006567, allocations: 155.4 kB / 0.8932 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.007083, allocations: 222.9 kB / 0.8934 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.007465, allocations: 163.5 kB / 0.8935 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.007891, allocations: 347 kB / 0.8939 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.008037, allocations: 32.91 kB / 0.8939 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009883/0.009025, allocations: 262.1 kB / 0.8942 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.009275, allocations: 143.6 kB / 0.8943 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.009311, allocations: 12 kB / 0.8943 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.009458, allocations: 55.91 kB / 0.8944 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.009564, allocations: 95.67 kB / 0.8944 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.876e-05/0.009653, allocations: 71.7 kB / 0.8945 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.009992, allocations: 258.9 kB / 0.8948 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.009996, allocations: 4 kB / 0.8948 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.092e-06/0.009997, allocations: 0 / 0.8948 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.01, allocations: 0 / 0.8948 GB, free: 4.637 MB / 0.8542 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.0005963/0.0106, allocations: 0.6661 MB / 0.8954 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.01064, allocations: 8.031 kB / 0.8954 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.01069, allocations: 44.69 kB / 0.8955 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.01096, allocations: 309.4 kB / 0.8958 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.01098, allocations: 8.375 kB / 0.8958 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.011, allocations: 7.938 kB / 0.8958 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.01115, allocations: 100.5 kB / 0.8959 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.01116, allocations: 0 / 0.8959 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.01117, allocations: 4 kB / 0.8959 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.01117, allocations: 0 / 0.8959 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.01122, allocations: 23.97 kB / 0.8959 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.01169, allocations: 403.8 kB / 0.8963 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.01183, allocations: 87.25 kB / 0.8964 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.01187, allocations: 31.67 kB / 0.8964 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.01189, allocations: 4 kB / 0.8964 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.01202, allocations: 100.9 kB / 0.8965 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/0.01203, allocations: 3.984 kB / 0.8965 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.000229/0.01225, allocations: 164.8 kB / 0.8967 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.01228, allocations: 55.39 kB / 0.8967 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.01255, allocations: 442.4 kB / 0.8971 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.01257, allocations: 29.7 kB / 0.8972 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.01268, allocations: 227.2 kB / 0.8974 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.01271, allocations: 47.67 kB / 0.8974 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.01278, allocations: 71.58 kB / 0.8975 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.01292, allocations: 0.5428 MB / 0.898 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.01296, allocations: 28.53 kB / 0.898 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.01303, allocations: 77.19 kB / 0.8981 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.01313, allocations: 104 kB / 0.8982 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01313, allocations: 4 kB / 0.8982 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002038/0.01333, allocations: 213.8 kB / 0.8984 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01335, allocations: 4 kB / 0.8984 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01335, allocations: 4 kB / 0.8984 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.01336, allocations: 0 / 0.8984 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01349, allocations: 51.97 kB / 0.8985 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.01349, allocations: 3.938 kB / 0.8985 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.459e-05/0.01356, allocations: 23.83 kB / 0.8985 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.01357, allocations: 4 kB / 0.8985 GB, free: 0.5703 MB / 0.8542 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 9.169e-05/0.01367, allocations: 176.6 kB / 0.8987 GB, free: 396 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.0137, allocations: 47.7 kB / 0.8987 GB, free: 348 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.01389, allocations: 144.8 kB / 0.8989 GB, free: 200 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01389, allocations: 0 / 0.8989 GB, free: 200 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01389, allocations: 0 / 0.8989 GB, free: 200 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01389, allocations: 0 / 0.8989 GB, free: 200 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.01405, allocations: 201 kB / 0.8991 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01406, allocations: 3.984 kB / 0.8991 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.0141, allocations: 16 kB / 0.8991 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01411, allocations: 4 kB / 0.8991 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01412, allocations: 7.984 kB / 0.8991 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01412, allocations: 0 / 0.8991 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01412, allocations: 0 / 0.8991 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.01429, allocations: 198.1 kB / 0.8993 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.01432, allocations: 35.75 kB / 0.8993 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.01435, allocations: 8 kB / 0.8993 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.01439, allocations: 11.98 kB / 0.8993 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.01443, allocations: 15.98 kB / 0.8993 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.01444, allocations: 11.98 kB / 0.8994 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001499/0.01459, allocations: 267 kB / 0.8996 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01459, allocations: 0 / 0.8996 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001932/0.01479, allocations: 59.94 kB / 0.8997 GB, free: 15.32 MB / 0.8698 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.0008363/0.01562, allocations: 401.9 kB / 0.9001 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.01579, allocations: 103.6 kB / 0.9002 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01579, allocations: 0 / 0.9002 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.01586, allocations: 55.58 kB / 0.9002 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.01615, allocations: 105.6 kB / 0.9003 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.01668, allocations: 477 kB / 0.9008 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.558e-05/0.01673, allocations: 104.6 kB / 0.9009 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.183e-05/0.01681, allocations: 46.94 kB / 0.9009 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.01695, allocations: 134.2 kB / 0.901 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of SimCode: time 8.72e-07/0.01695, allocations: 0 / 0.901 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.006583/0.02353, allocations: 4.901 MB / 0.9058 GB, free: 9.203 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.267623277846724]