Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00124/0.00124, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00715/0.00715, allocations: 170.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.691/1.691, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.068/3.068, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004837, allocations: 16 kB / 0.8729 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8413, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001309/0.8426, allocations: 0.5631 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.8438, allocations: 0.8973 MB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.8439, allocations: 3.938 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.725e-05/0.844, allocations: 7.938 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.8441, allocations: 19.86 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.8443, allocations: 47.94 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.8445, allocations: 115.8 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.8447, allocations: 53.02 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.8448, allocations: 43.83 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.8449, allocations: 67.73 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.845, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.845, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.8451, allocations: 31.84 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.8452, allocations: 69.41 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.8453, allocations: 135.5 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8453, allocations: 4 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8454, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.8454, allocations: 0 / 1.025 GB, free: 13.76 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.0009078/0.8463, allocations: 441 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8463, allocations: 12.03 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.8464, allocations: 8.844 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.8466, allocations: 209.3 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.8467, allocations: 8.375 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.8467, allocations: 7.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.8472, allocations: 169.5 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8472, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.8472, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.8472, allocations: 4 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/0.8479, allocations: 199.8 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.8486, allocations: 416.4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/0.8495, allocations: 186.5 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.8498, allocations: 104.9 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.8498, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.8499, allocations: 38.5 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.8499, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.001034/0.8509, allocations: 333.2 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.851, allocations: 55.41 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.8511, allocations: 145.2 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.8512, allocations: 25.7 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.8512, allocations: 119.9 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.8513, allocations: 31.55 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.8513, allocations: 17.72 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.8515, allocations: 318.8 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.8518, allocations: 95.92 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.8521, allocations: 87.92 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.8527, allocations: 192.7 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8527, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006627/0.8534, allocations: 237.4 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.8534, allocations: 7.938 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8534, allocations: 7.984 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.8534, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.8537, allocations: 48.55 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8537, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.8539, allocations: 35.88 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.8539, allocations: 7.984 kB / 1.028 GB, free: 10.03 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.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 0.0001257/0.854, allocations: 123.2 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.8541, allocations: 11.84 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.8541, allocations: 20.72 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8541, allocations: 3.938 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8542, allocations: 3.984 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8542, allocations: 0 / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.8544, allocations: 233.5 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8545, allocations: 0 / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.8547, allocations: 47.89 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.8547, allocations: 7.938 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.8547, allocations: 7.984 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8548, allocations: 0 / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8548, allocations: 4 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.8555, allocations: 335.1 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.8556, allocations: 84.95 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.8556, allocations: 8 kB / 1.029 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.8558, allocations: 23.97 kB / 1.029 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.8559, allocations: 31.95 kB / 1.029 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.8559, allocations: 7.938 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.595e-05/0.856, allocations: 117.7 kB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.856, allocations: 0 / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002449/0.8563, allocations: 24 kB / 1.03 GB, free: 8.863 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 (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.0001525/0.8564, allocations: 95.78 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006944/0.8571, allocations: 211.8 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8572, allocations: 0 / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.8575, allocations: 111.9 kB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.8578, allocations: 26.27 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.8584, allocations: 281.1 kB / 1.03 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.8588, allocations: 0.7043 MB / 1.031 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000114/0.8589, allocations: 20.42 kB / 1.031 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.859, allocations: 23.42 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.859, allocations: 0 / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of Templates: time 0.005212/0.8642, allocations: 2.025 MB / 1.033 GB, free: 5.332 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches