Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.2 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8706, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001252/0.8719, allocations: 0.5335 MB / 0.954 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.8732, allocations: 0.9008 MB / 0.9549 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.8733, allocations: 0.9375 kB / 0.9549 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.8734, allocations: 5.938 kB / 0.9549 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.8735, allocations: 13.53 kB / 0.9549 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.8738, allocations: 50 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.8739, allocations: 68.92 kB / 0.955 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.8741, allocations: 40.88 kB / 0.9551 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.8742, allocations: 45.08 kB / 0.9551 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.8744, allocations: 66.78 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.8744, allocations: 5.531 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.835e-05/0.8745, allocations: 9.438 kB / 0.9552 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.8745, allocations: 25.25 kB / 0.9552 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.8746, allocations: 42.91 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.8747, allocations: 91.72 kB / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.8747, allocations: 1.156 kB / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8747, allocations: 0 / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8747, allocations: 0 / 0.9554 GB, free: 6.633 MB / 0.7169 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.0009949/0.8757, allocations: 443.5 kB / 0.9558 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.8758, allocations: 9.281 kB / 0.9558 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.8759, allocations: 9.781 kB / 0.9558 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.8761, allocations: 208.2 kB / 0.956 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.8762, allocations: 11.22 kB / 0.956 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.8762, allocations: 5.75 kB / 0.956 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.8769, allocations: 165.5 kB / 0.9562 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.8769, allocations: 0 / 0.9562 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.8769, allocations: 5.5 kB / 0.9562 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8769, allocations: 1.5 kB / 0.9562 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008634/0.8778, allocations: 198.5 kB / 0.9564 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000837/0.8787, allocations: 417.1 kB / 0.9568 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.8799, allocations: 187.7 kB / 0.9569 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.88, allocations: 1.391 kB / 0.9569 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.88, allocations: 35.58 kB / 0.957 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.88, allocations: 0 / 0.957 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.001191/0.8812, allocations: 333.5 kB / 0.9573 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.8813, allocations: 56.38 kB / 0.9574 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.8814, allocations: 150.5 kB / 0.9575 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.8814, allocations: 26.08 kB / 0.9575 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.8815, allocations: 109.6 kB / 0.9576 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.8815, allocations: 31.64 kB / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.8815, allocations: 0 / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.8816, allocations: 329.2 kB / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.8819, allocations: 93.64 kB / 0.9581 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.8822, allocations: 89.61 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.8825, allocations: 93.23 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.8825, allocations: 1.531 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006606/0.8832, allocations: 234.9 kB / 0.9585 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8832, allocations: 9.297 kB / 0.9585 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8832, allocations: 0 / 0.9585 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8832, allocations: 0 / 0.9585 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.8835, allocations: 43.86 kB / 0.9585 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8835, allocations: 3.984 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.8837, allocations: 39.16 kB / 0.9586 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.8837, allocations: 5.359 kB / 0.9586 GB, free: 4.125 MB / 0.7169 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.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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.8838, allocations: 126 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.8838, allocations: 11.94 kB / 0.9587 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.8839, allocations: 23.41 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8839, allocations: 1.375 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8839, allocations: 4 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.8839, allocations: 1.375 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.8841, allocations: 223.8 kB / 0.9589 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8842, allocations: 0 / 0.9589 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.8844, allocations: 43.58 kB / 0.959 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.8844, allocations: 3.984 kB / 0.959 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.8844, allocations: 5.375 kB / 0.959 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.8844, allocations: 9.328 kB / 0.959 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8844, allocations: 288 / 0.959 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.8851, allocations: 330.9 kB / 0.9593 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.8852, allocations: 91.61 kB / 0.9594 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.8852, allocations: 9.375 kB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.8854, allocations: 25.84 kB / 0.9594 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.8855, allocations: 37.53 kB / 0.9595 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.8855, allocations: 2.594 kB / 0.9595 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.764e-05/0.8856, allocations: 117.6 kB / 0.9596 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8856, allocations: 4 kB / 0.9596 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002941/0.8859, allocations: 23.31 kB / 0.9596 GB, free: 3.234 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001519/0.8861, allocations: 106.6 kB / 0.9597 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006719/0.8868, allocations: 199.1 kB / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8868, allocations: 4 kB / 0.9599 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.8871, allocations: 113 kB / 0.96 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.8874, allocations: 18.16 kB / 0.96 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/0.888, allocations: 272.8 kB / 0.9603 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.8882, allocations: 0.7077 MB / 0.961 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.8883, allocations: 25.53 kB / 0.961 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.8884, allocations: 22.89 kB / 0.961 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.8884, allocations: 0 / 0.961 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.006197/0.8946, allocations: 1.971 MB / 0.9629 GB, free: 1.047 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches