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.001122/0.001122, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009498/0.0009498, allocations: 169 kB / 23.02 MB, free: 1.547 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.9861/0.9861, allocations: 177.1 MB / 203.4 MB, free: 5.582 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.169/2.169, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.398e-06/4.398e-06, allocations: 0.5469 kB / 0.8782 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.82e-05, allocations: 6.25 kB / 0.8782 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001702/0.00174, allocations: 0.8511 MB / 0.879 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003028, allocations: 0.9368 MB / 0.8799 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.003092, allocations: 7.938 kB / 0.8799 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.003209, allocations: 7.875 kB / 0.8799 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.003322, allocations: 24.98 kB / 0.88 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.003504, allocations: 59.86 kB / 0.88 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.003655, allocations: 132.1 kB / 0.8802 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.003785, allocations: 38.7 kB / 0.8802 GB, free: 3.141 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.003879, allocations: 71.88 kB / 0.8803 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.004004, allocations: 63.84 kB / 0.8803 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.004032, allocations: 12 kB / 0.8803 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.026e-05/0.004052, allocations: 12.69 kB / 0.8803 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.004104, allocations: 39.84 kB / 0.8804 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.00415, allocations: 37.23 kB / 0.8804 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.004308, allocations: 107.6 kB / 0.8805 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.00431, allocations: 0 / 0.8805 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.423e-06/0.004312, allocations: 0.7812 kB / 0.8805 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.004316, allocations: 0 / 0.8805 GB, free: 2.805 MB / 0.7917 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.0005211/0.004838, allocations: 460.7 kB / 0.881 GB, free: 2.32 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.00488, allocations: 16.67 kB / 0.881 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.00493, allocations: 12.89 kB / 0.881 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.005093, allocations: 154.5 kB / 0.8811 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.005115, allocations: 8.375 kB / 0.8811 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.005138, allocations: 4.375 kB / 0.8811 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.005367, allocations: 127.8 kB / 0.8813 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.005375, allocations: 0 / 0.8813 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.005389, allocations: 4 kB / 0.8813 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.005398, allocations: 7 kB / 0.8813 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.817e-05/0.005496, allocations: 45.95 kB / 0.8813 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.005963, allocations: 367.5 kB / 0.8817 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.006322, allocations: 103 kB / 0.8818 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.00638, allocations: 28.53 kB / 0.8818 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.006401, allocations: 9.641 kB / 0.8818 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.006421, allocations: 33.39 kB / 0.8818 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.006423, allocations: 3.938 kB / 0.8818 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of matching and sorting (n=10): time 0.0002689/0.006692, allocations: 119 kB / 0.882 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.006723, allocations: 55.41 kB / 0.882 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.006827, allocations: 204.1 kB / 0.8822 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.006841, allocations: 29.7 kB / 0.8822 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.006913, allocations: 166.6 kB / 0.8824 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.006941, allocations: 27.78 kB / 0.8824 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.006989, allocations: 35.36 kB / 0.8824 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.007113, allocations: 0.4923 MB / 0.8829 GB, free: 152 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.007164, allocations: 19.98 kB / 0.8829 GB, free: 132 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.007205, allocations: 8 kB / 0.883 GB, free: 124 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.007299, allocations: 59.61 kB / 0.883 GB, free: 60 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007301, allocations: 0 / 0.883 GB, free: 60 kB / 0.7917 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001601/0.007461, allocations: 97.56 kB / 0.8831 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.007475, allocations: 4 kB / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.007479, allocations: 4 kB / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.007495, allocations: 3.938 kB / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.007613, allocations: 35.91 kB / 0.8832 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.007619, allocations: 0 / 0.8832 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.007674, allocations: 11.98 kB / 0.8832 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.007683, allocations: 0 / 0.8832 GB, free: 15.9 MB / 0.8073 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.601e-05/0.007769, allocations: 164.6 kB / 0.8833 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.007797, allocations: 15.91 kB / 0.8833 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.00783, allocations: 16.77 kB / 0.8834 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.007836, allocations: 7.938 kB / 0.8834 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.00784, allocations: 0 / 0.8834 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007843, allocations: 0 / 0.8834 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.007988, allocations: 160.6 kB / 0.8835 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.00799, allocations: 0 / 0.8835 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/0.008085, allocations: 31.91 kB / 0.8835 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008087, allocations: 0 / 0.8835 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.008099, allocations: 8 kB / 0.8836 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.0081, allocations: 0 / 0.8836 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.008102, allocations: 3.938 kB / 0.8836 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.008309, allocations: 247.8 kB / 0.8838 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.008323, allocations: 11.89 kB / 0.8838 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.008338, allocations: 0 / 0.8838 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.008409, allocations: 15.98 kB / 0.8838 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.008495, allocations: 43.83 kB / 0.8839 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.008504, allocations: 7.984 kB / 0.8839 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.00856, allocations: 152.5 kB / 0.884 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00856, allocations: 0 / 0.884 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001663/0.008727, allocations: 20 kB / 0.884 GB, free: 14.94 MB / 0.8073 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 9.475e-05/0.008821, allocations: 99.23 kB / 0.8841 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.008982, allocations: 60.34 kB / 0.8842 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.008984, allocations: 4 kB / 0.8842 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.00906, allocations: 55.78 kB / 0.8842 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.009278, allocations: 32.11 kB / 0.8843 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.009687, allocations: 236.1 kB / 0.8845 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.959e-05/0.009726, allocations: 63.34 kB / 0.8846 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.969e-05/0.009786, allocations: 24.48 kB / 0.8846 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.009861, allocations: 28.48 kB / 0.8846 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of SimCode: time 9.11e-07/0.009862, allocations: 0 / 0.8846 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.004384/0.01425, allocations: 2.592 MB / 0.8871 GB, free: 11.73 MB / 0.8073 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.584978280123323]