Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.001011/0.001011, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009627/0.0009627, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.059/1.059, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.064/2.064, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 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.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.893e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001358/0.001377, allocations: 0.8519 MB / 0.8802 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.002463, allocations: 0.9337 MB / 0.8812 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.002526, allocations: 4 kB / 0.8812 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.62e-05/0.002622, allocations: 15.8 kB / 0.8812 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.002712, allocations: 19.75 kB / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.002859, allocations: 55.86 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.002995, allocations: 135.6 kB / 0.8814 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.003107, allocations: 33.28 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.003189, allocations: 72.44 kB / 0.8815 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.003303, allocations: 68.42 kB / 0.8815 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.003328, allocations: 12 kB / 0.8816 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.003343, allocations: 12.94 kB / 0.8816 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.003389, allocations: 35.84 kB / 0.8816 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.003426, allocations: 40.61 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.003556, allocations: 103.6 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003557, allocations: 1.531 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003558, allocations: 0 / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.003562, allocations: 0 / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004583/0.00402, allocations: 464 kB / 0.8822 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.004053, allocations: 11.97 kB / 0.8822 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.004095, allocations: 24.84 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.004223, allocations: 147 kB / 0.8824 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.004241, allocations: 8.375 kB / 0.8824 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.004253, allocations: 4.375 kB / 0.8824 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.004431, allocations: 115.8 kB / 0.8825 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.004439, allocations: 3.984 kB / 0.8825 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.004452, allocations: 7.938 kB / 0.8825 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.00446, allocations: 8 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.268e-05/0.004523, allocations: 27.97 kB / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.004868, allocations: 340.1 kB / 0.8828 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.005154, allocations: 91.06 kB / 0.8829 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.005194, allocations: 27.84 kB / 0.883 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.005209, allocations: 4 kB / 0.883 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.005229, allocations: 41.33 kB / 0.883 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.00523, allocations: 0 / 0.883 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002078/0.005438, allocations: 105.7 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.005466, allocations: 51.41 kB / 0.8832 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.005552, allocations: 215.9 kB / 0.8834 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.005565, allocations: 25.7 kB / 0.8834 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.005618, allocations: 158.7 kB / 0.8835 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.005643, allocations: 31.73 kB / 0.8836 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.005686, allocations: 35.36 kB / 0.8836 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.005796, allocations: 0.4962 MB / 0.8841 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.005828, allocations: 11.98 kB / 0.8841 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.005858, allocations: 11.98 kB / 0.8841 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.122e-05/0.00593, allocations: 48.11 kB / 0.8842 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.005931, allocations: 0 / 0.8842 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000124/0.006055, allocations: 89.56 kB / 0.8842 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.006065, allocations: 4 kB / 0.8842 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.006069, allocations: 4 kB / 0.8842 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.006078, allocations: 0 / 0.8842 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.006181, allocations: 27.97 kB / 0.8843 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.006184, allocations: 3.938 kB / 0.8843 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.006238, allocations: 15.98 kB / 0.8843 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.006246, allocations: 0 / 0.8843 GB, free: 0.8438 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.004e-05/0.006326, allocations: 164.6 kB / 0.8844 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.006354, allocations: 15.91 kB / 0.8845 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.006384, allocations: 12.78 kB / 0.8845 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006386, allocations: 8 kB / 0.8845 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.006388, allocations: 3.938 kB / 0.8845 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006391, allocations: 0 / 0.8845 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.006515, allocations: 141.1 kB / 0.8846 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.006516, allocations: 7.938 kB / 0.8846 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.006594, allocations: 27.97 kB / 0.8847 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-06/0.006595, allocations: 0 / 0.8847 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.006605, allocations: 3.984 kB / 0.8847 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006605, allocations: 0 / 0.8847 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006606, allocations: 7.938 kB / 0.8847 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.00677, allocations: 251.7 kB / 0.8849 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.00678, allocations: 3.953 kB / 0.8849 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.006795, allocations: 8 kB / 0.8849 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.006862, allocations: 7.984 kB / 0.8849 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.00693, allocations: 35.95 kB / 0.885 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.006937, allocations: 4 kB / 0.885 GB, free: 92 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.131e-05/0.006998, allocations: 155.1 kB / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006998, allocations: 0 / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001592/0.007158, allocations: 16 kB / 0.8851 GB, free: 15.92 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 7.435e-05/0.007232, allocations: 103.2 kB / 0.8852 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.007359, allocations: 55.58 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.00736, allocations: 0 / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.007424, allocations: 47.61 kB / 0.8853 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.007625, allocations: 31.92 kB / 0.8854 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.007941, allocations: 234.2 kB / 0.8856 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.007975, allocations: 63.34 kB / 0.8856 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.769e-05/0.008032, allocations: 20.44 kB / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.00814, allocations: 102.2 kB / 0.8858 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.008141, allocations: 4 kB / 0.8858 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of Templates: time 0.004038/0.01218, allocations: 2.84 MB / 0.8885 GB, free: 12.4 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.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.374393252655864]