Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 181.5 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008515/0.0008513, allocations: 88.05 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 13.75 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2374, allocations: 106.3 MB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.4174, allocations: 131.6 MB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.4176, allocations: 71.95 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006285/0.4239, allocations: 2.087 MB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.363e-06/0.424, allocations: 0 / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.424, allocations: 8 kB / 1.031 GB, free: 10.44 MB / 0.6823 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.0008475/0.4248, allocations: 0.5141 MB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4249, allocations: 12.03 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.425, allocations: 15.81 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.4252, allocations: 218.7 kB / 1.032 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.4253, allocations: 8 kB / 1.032 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4253, allocations: 8 kB / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.4258, allocations: 209.6 kB / 1.032 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4259, allocations: 0 / 1.032 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.4259, allocations: 11.95 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4259, allocations: 4 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/0.4267, allocations: 272.3 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4277, allocations: 0.5393 MB / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.4282, allocations: 182.4 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.4282, allocations: 0 / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4283, allocations: 42.69 kB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.4283, allocations: 0 / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.001173/0.4294, allocations: 441.3 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.4295, allocations: 63.36 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4296, allocations: 161.3 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4297, allocations: 29.7 kB / 1.033 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.4297, allocations: 112 kB / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.4298, allocations: 31.55 kB / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.4298, allocations: 0 / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4299, allocations: 326.8 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.4303, allocations: 132.3 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.4306, allocations: 135.8 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.431, allocations: 127.9 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.431, allocations: 0 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007305/0.4317, allocations: 321.2 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4318, allocations: 4 kB / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4318, allocations: 0 / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4318, allocations: 0 / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.4321, allocations: 55.95 kB / 1.035 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4321, allocations: 7.938 kB / 1.035 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.4323, allocations: 59.83 kB / 1.035 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.4323, allocations: 7.938 kB / 1.035 GB, free: 6.238 MB / 0.6823 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.0001082/0.4325, allocations: 125.8 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.4325, allocations: 15.81 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.4326, allocations: 21.41 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.4326, allocations: 4 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4326, allocations: 0 / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4326, allocations: 0 / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.4328, allocations: 257.5 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4328, allocations: 0 / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.4331, allocations: 55.95 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4331, allocations: 3.984 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4331, allocations: 0 / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.4331, allocations: 4 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4331, allocations: 3.984 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.434, allocations: 419.2 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.4341, allocations: 88.92 kB / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.4341, allocations: 4 kB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.4343, allocations: 47.95 kB / 1.036 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.4344, allocations: 15.91 kB / 1.036 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.4344, allocations: 4 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.656e-05/0.4345, allocations: 131.2 kB / 1.036 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4345, allocations: 0 / 1.036 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002291/0.4348, allocations: 31.94 kB / 1.036 GB, free: 4.941 MB / 0.6823 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.435, allocations: 99.25 kB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007779/0.4357, allocations: 279.7 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4358, allocations: 4 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.4361, allocations: 139.9 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.4364, allocations: 28.69 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.437, allocations: 342.5 kB / 1.037 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.4374, allocations: 0.7316 MB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.687e-05/0.4375, allocations: 16.42 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.4375, allocations: 15.44 kB / 1.037 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/0.4375, allocations: 0 / 1.037 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of Templates: time 0.003821/0.4414, allocations: 1.492 MB / 1.039 GB, free: 1.766 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches