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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001243/0.001243, allocations: 100.1 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.0009942/0.0009943, allocations: 177.3 kB / 15.95 MB, free: 216 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.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 436.5 MB / 0.7104 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004419, allocations: 12 kB / 0.8708 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8716/0.8721, allocations: 153.6 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001008/0.8731, allocations: 0.54 MB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.8741, allocations: 0.8936 MB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.8742, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.936e-05/0.8743, allocations: 3.938 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.8744, allocations: 19.91 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.8745, allocations: 51.88 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.8747, allocations: 67.84 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.8748, allocations: 37.28 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.8749, allocations: 47.81 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.875, allocations: 67.73 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.8751, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.8751, allocations: 8 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.8751, allocations: 27.91 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.8752, allocations: 37.64 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.8753, allocations: 91.77 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.8753, allocations: 3.938 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8753, allocations: 4 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.8753, allocations: 0 / 1.023 GB, free: 15.17 MB / 0.7794 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.0008576/0.8762, allocations: 442.7 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.8762, allocations: 15.98 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.8763, allocations: 7.906 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.8766, allocations: 209.9 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.8766, allocations: 11.94 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.8766, allocations: 7.953 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.8771, allocations: 169.5 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8771, allocations: 0 / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.8771, allocations: 4 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.8772, allocations: 0 / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.8778, allocations: 191.8 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.8785, allocations: 424.5 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.8794, allocations: 186.5 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.8794, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.8795, allocations: 34.59 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.8795, allocations: 0 / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.001073/0.8805, allocations: 333.6 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.8806, allocations: 55.41 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.8808, allocations: 143 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.8808, allocations: 25.7 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.8809, allocations: 108 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.881, allocations: 31.55 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.881, allocations: 4 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8811, allocations: 318.8 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.8814, allocations: 95.92 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.8817, allocations: 96.3 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.882, allocations: 92 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.882, allocations: 3.953 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006268/0.8827, allocations: 237.4 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8827, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8827, allocations: 3.938 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.8827, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.883, allocations: 47.95 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.883, allocations: 3.938 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.8832, allocations: 35.88 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.8832, allocations: 4 kB / 1.026 GB, free: 11.68 MB / 0.7794 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.0001204/0.8833, allocations: 121.8 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.8834, allocations: 15.86 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.8834, allocations: 12.72 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8834, allocations: 4 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8834, allocations: 4 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.8834, allocations: 3.984 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.8837, allocations: 229.6 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8837, allocations: 0 / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.884, allocations: 51.84 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.884, allocations: 4 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.884, allocations: 7.984 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.884, allocations: 4 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.884, allocations: 0 / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007589/0.8848, allocations: 331.1 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.8849, allocations: 93.14 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.8849, allocations: 7.953 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.8851, allocations: 31.91 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.8852, allocations: 31.95 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.8852, allocations: 4 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.966e-05/0.8853, allocations: 110.1 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8853, allocations: 4 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002503/0.8856, allocations: 24 kB / 1.027 GB, free: 10.51 MB / 0.7794 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.0001429/0.8857, allocations: 99.25 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006333/0.8864, allocations: 203.8 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8864, allocations: 4 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.8867, allocations: 111.9 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.887, allocations: 18.17 kB / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.8876, allocations: 269.2 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.888, allocations: 0.7082 MB / 1.028 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.8881, allocations: 16.44 kB / 1.028 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.8882, allocations: 23.41 kB / 1.028 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of SimCode: time 8.61e-07/0.8882, allocations: 0 / 1.028 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of Templates: time 0.004937/0.8931, allocations: 1.981 MB / 1.03 GB, free: 7.043 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches