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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001241/0.001241, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001884/0.001884, allocations: 172.7 kB / 15.95 MB, free: 208 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.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.857/2.857, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006419/0.0006421, allocations: 12 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8406, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001287/0.8419, allocations: 0.5439 MB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.8432, allocations: 0.8858 MB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.8433, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.8434, allocations: 3.938 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.8435, allocations: 15.84 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.8437, allocations: 43.95 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.8439, allocations: 111.7 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.8441, allocations: 37.27 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.8442, allocations: 43.84 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.8443, allocations: 71.72 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.8444, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.8444, allocations: 8 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.8445, allocations: 23.89 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.8445, allocations: 41.64 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.8447, allocations: 95.72 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8447, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8447, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.8447, allocations: 0 / 1.024 GB, free: 14.14 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.0008429/0.8456, allocations: 448.7 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.8456, allocations: 8.562 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.8457, allocations: 11.91 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.8459, allocations: 203.9 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.8459, allocations: 8 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.846, allocations: 11.95 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.8464, allocations: 159.1 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.8464, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.8464, allocations: 7.938 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8464, allocations: 4 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/0.847, allocations: 191.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.8478, allocations: 424.5 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.8486, allocations: 186.5 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.8489, allocations: 105 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.849, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.849, allocations: 34.5 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.849, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0009174/0.8499, allocations: 333.3 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.85, allocations: 51.41 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.8501, allocations: 154.5 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.8502, allocations: 25.7 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.8503, allocations: 112 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.8503, allocations: 31.5 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.8503, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8505, allocations: 322.8 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.8507, allocations: 91.92 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.851, allocations: 95.92 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.8513, allocations: 91.88 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8513, allocations: 0.5625 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006351/0.8519, allocations: 241.3 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.8519, allocations: 5.719 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.852, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.852, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.8524, allocations: 51.89 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.8524, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.8526, allocations: 35.88 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.8526, allocations: 3.984 kB / 1.028 GB, free: 10.55 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.0001331/0.8527, allocations: 125.8 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.8528, allocations: 7.906 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.8528, allocations: 20.7 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8528, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.8529, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8529, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.8531, allocations: 221.6 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8532, allocations: 7.938 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.8534, allocations: 47.95 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.8534, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.8534, allocations: 8 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8534, allocations: 7.938 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.8534, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.8541, allocations: 335.1 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.8542, allocations: 92.91 kB / 1.028 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.8542, allocations: 4 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.8544, allocations: 23.97 kB / 1.028 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.8545, allocations: 39.94 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.8545, allocations: 4 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.8546, allocations: 111.8 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.825e-06/0.8546, allocations: 4 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002403/0.8549, allocations: 23.94 kB / 1.029 GB, free: 9.383 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.0001638/0.855, allocations: 107.2 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005852/0.8556, allocations: 203.9 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8556, allocations: 4 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.8559, allocations: 115.8 kB / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.8562, allocations: 12 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.8568, allocations: 265.2 kB / 1.029 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.8571, allocations: 0.7043 MB / 1.03 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.8573, allocations: 20.42 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.8574, allocations: 19.42 kB / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8574, allocations: 0 / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.004758/0.8621, allocations: 1.992 MB / 1.032 GB, free: 5.91 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=480 -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