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.000998/0.000998, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001544/0.001544, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.316/2.316, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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 4.819e-06/4.819e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.421e-05/4.903e-05, allocations: 4.141 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001909/0.001958, allocations: 0.8541 MB / 0.879 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.003362, allocations: 0.9386 MB / 0.8799 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.003446, allocations: 4 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.003583, allocations: 7.875 kB / 0.88 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.003721, allocations: 32.17 kB / 0.88 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.003945, allocations: 57.17 kB / 0.88 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.004127, allocations: 131.6 kB / 0.8802 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.004291, allocations: 29.28 kB / 0.8802 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.004408, allocations: 80.73 kB / 0.8803 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.004556, allocations: 55.86 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.00459, allocations: 16 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.004611, allocations: 13.34 kB / 0.8804 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.004668, allocations: 35.83 kB / 0.8804 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.004724, allocations: 43.89 kB / 0.8804 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.004906, allocations: 101.1 kB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.004912, allocations: 4 kB / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/0.004914, allocations: 0 / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.00492, allocations: 0 / 0.8805 GB, free: 4.273 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.0006681/0.005588, allocations: 457.4 kB / 0.881 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.005639, allocations: 12.02 kB / 0.881 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.005707, allocations: 24.78 kB / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.005894, allocations: 154.6 kB / 0.8811 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.005922, allocations: 4.375 kB / 0.8812 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.005942, allocations: 12.38 kB / 0.8812 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.00622, allocations: 120.3 kB / 0.8813 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.006228, allocations: 0 / 0.8813 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.006246, allocations: 4 kB / 0.8813 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.006254, allocations: 4 kB / 0.8813 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.006369, allocations: 51.89 kB / 0.8813 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.006914, allocations: 363.5 kB / 0.8817 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.007299, allocations: 99.06 kB / 0.8818 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.711e-05/0.007366, allocations: 27.84 kB / 0.8818 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.007388, allocations: 4 kB / 0.8818 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.007414, allocations: 41.33 kB / 0.8818 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 2.956e-06/0.007417, allocations: 0 / 0.8818 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003003/0.007717, allocations: 113.7 kB / 0.882 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.007755, allocations: 51.41 kB / 0.882 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.007879, allocations: 211.3 kB / 0.8822 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.007893, allocations: 29.7 kB / 0.8822 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.007963, allocations: 158.7 kB / 0.8824 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.007998, allocations: 31.73 kB / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.008049, allocations: 35.36 kB / 0.8825 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.008174, allocations: 0.4962 MB / 0.8829 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.00823, allocations: 12 kB / 0.8829 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.672e-05/0.008277, allocations: 20.36 kB / 0.883 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.008388, allocations: 55.73 kB / 0.883 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.008391, allocations: 0 / 0.883 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.008559, allocations: 93.55 kB / 0.8831 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.008578, allocations: 8 kB / 0.8831 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.008585, allocations: 4 kB / 0.8831 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.008603, allocations: 3.938 kB / 0.8831 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.008753, allocations: 27.97 kB / 0.8831 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.008761, allocations: 4 kB / 0.8832 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.00882, allocations: 15.98 kB / 0.8832 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.008831, allocations: 4 kB / 0.8832 GB, free: 1.367 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 9.574e-05/0.008927, allocations: 156.6 kB / 0.8833 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.008958, allocations: 19.89 kB / 0.8833 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.008998, allocations: 20.77 kB / 0.8834 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.009003, allocations: 7.938 kB / 0.8834 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.009008, allocations: 0 / 0.8834 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.009011, allocations: 0 / 0.8834 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.009173, allocations: 164.5 kB / 0.8835 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009175, allocations: 0 / 0.8835 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.009274, allocations: 31.91 kB / 0.8836 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009277, allocations: 0 / 0.8836 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.00929, allocations: 4 kB / 0.8836 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.009291, allocations: 0 / 0.8836 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.009293, allocations: 7.938 kB / 0.8836 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.009523, allocations: 247.8 kB / 0.8838 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.009543, allocations: 7.953 kB / 0.8838 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.009566, allocations: 4 kB / 0.8838 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.009644, allocations: 11.98 kB / 0.8838 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.009747, allocations: 39.89 kB / 0.8839 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.009759, allocations: 7.984 kB / 0.8839 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.85e-05/0.009838, allocations: 148.2 kB / 0.884 GB, free: 444 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009838, allocations: 0 / 0.884 GB, free: 444 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002055/0.01004, allocations: 24 kB / 0.884 GB, free: 420 kB / 0.8386 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 0.0001317/0.01017, allocations: 103.2 kB / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.01037, allocations: 63.59 kB / 0.8842 GB, free: 240 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01037, allocations: 0 / 0.8842 GB, free: 240 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.01045, allocations: 51.59 kB / 0.8842 GB, free: 184 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.0107, allocations: 27.94 kB / 0.8843 GB, free: 156 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.01128, allocations: 234.2 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.01132, allocations: 67.34 kB / 0.8846 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.046e-05/0.01139, allocations: 16.48 kB / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.01147, allocations: 28.48 kB / 0.8846 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of SimCode: time 2.124e-06/0.01148, allocations: 7.938 kB / 0.8846 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of Templates: time 0.005092/0.01657, allocations: 2.6 MB / 0.8871 GB, free: 13.21 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: 6.064865177962929]