Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009998/0.0009999, allocations: 99.23 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.0009484/0.0009484, allocations: 177.3 kB / 15.94 MB, free: 228 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.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.67/2.67, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004305, allocations: 12 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8286, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001298/0.83, allocations: 0.5682 MB / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.8312, allocations: 0.8703 MB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.8313, allocations: 7.938 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.8314, allocations: 15.91 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.8315, allocations: 27.89 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.8317, allocations: 31.95 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.8318, allocations: 79.83 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.8321, allocations: 41.52 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.451e-05/0.8321, allocations: 47.83 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.8323, allocations: 67.73 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.8323, allocations: 12 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.8323, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.8324, allocations: 39.78 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.8325, allocations: 41.62 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.8326, allocations: 115.7 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8326, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8326, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.8326, allocations: 0 / 1.023 GB, free: 15.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009623/0.8336, allocations: 0.5123 MB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8337, allocations: 11.98 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.8337, allocations: 15.81 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.8339, allocations: 222.6 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.834, allocations: 8 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.834, allocations: 7.953 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.8346, allocations: 205.5 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.8346, allocations: 4 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.8346, allocations: 4 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.8346, allocations: 0 / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007841/0.8354, allocations: 271.8 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.8365, allocations: 0.5433 MB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.837, allocations: 194.3 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.8371, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.8371, allocations: 34.56 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.8371, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001294/0.8384, allocations: 441.4 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.8385, allocations: 51.41 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.8386, allocations: 179.5 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.8387, allocations: 29.7 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.8388, allocations: 127.9 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.8388, allocations: 27.56 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.8388, allocations: 4 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8389, allocations: 330.8 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.8393, allocations: 127.9 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.8397, allocations: 132.2 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.8401, allocations: 143.8 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8401, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008445/0.841, allocations: 301.4 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.841, allocations: 4 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.841, allocations: 7.984 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.8411, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.8414, allocations: 59.89 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.8414, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.8416, allocations: 51.86 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.8416, allocations: 0 / 1.027 GB, free: 10.94 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001208/0.8417, allocations: 133.8 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.8418, allocations: 7.906 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.8418, allocations: 25.39 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.8418, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8418, allocations: 8 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8419, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.8421, allocations: 257.4 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.8422, allocations: 0 / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.8424, allocations: 59.89 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8424, allocations: 4 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.8425, allocations: 0 / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8425, allocations: 3.938 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8425, allocations: 0 / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009081/0.8434, allocations: 411.3 kB / 1.028 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.8434, allocations: 97 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.8435, allocations: 7.938 kB / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.8437, allocations: 43.95 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.8438, allocations: 11.98 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.8438, allocations: 4 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001097/0.8439, allocations: 135.2 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8439, allocations: 0 / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002609/0.8442, allocations: 23.91 kB / 1.028 GB, free: 9.641 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001727/0.8444, allocations: 107.2 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008993/0.8453, allocations: 279.7 kB / 1.028 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.8453, allocations: 4 kB / 1.028 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.8457, allocations: 143.8 kB / 1.028 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.846, allocations: 21.55 kB / 1.028 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.8466, allocations: 330.6 kB / 1.029 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.8469, allocations: 0.7277 MB / 1.029 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.735e-05/0.847, allocations: 24.41 kB / 1.029 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.8471, allocations: 11.44 kB / 1.029 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.8471, allocations: 0 / 1.029 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of Templates: time 0.003832/0.8509, allocations: 1.499 MB / 1.031 GB, free: 6.469 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches