Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 405.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 183.3 kB / 498.1 MB, free: 5.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 0.7949 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009116/0.0009117, allocations: 102.3 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003735, allocations: 11.72 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3318, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.5234, allocations: 149 MB / 1.368 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5237, allocations: 71.94 kB / 1.368 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006273/0.53, allocations: 2.013 MB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.286e-06/0.53, allocations: 0 / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.53, allocations: 12 kB / 1.37 GB, free: 10.93 MB / 0.8698 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.0008967/0.5309, allocations: 0.5092 MB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.531, allocations: 8.031 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.5311, allocations: 27.7 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.5314, allocations: 222.6 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5314, allocations: 8 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.5314, allocations: 12 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.532, allocations: 210.8 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.532, allocations: 0 / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5321, allocations: 8 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5321, allocations: 3.938 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.5328, allocations: 279.8 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.5339, allocations: 0.5354 MB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.5344, allocations: 178.4 kB / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.5344, allocations: 0 / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.5345, allocations: 34.56 kB / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.5345, allocations: 4 kB / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.001268/0.5357, allocations: 441.5 kB / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.5358, allocations: 55.41 kB / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.5359, allocations: 165.2 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.536, allocations: 25.7 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.5361, allocations: 131.8 kB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.5361, allocations: 35.53 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.5361, allocations: 0 / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5363, allocations: 326.8 kB / 1.374 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.5367, allocations: 127.9 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.537, allocations: 135.9 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.5374, allocations: 128.5 kB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.5374, allocations: 0 / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007866/0.5382, allocations: 313.2 kB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5382, allocations: 4 kB / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5383, allocations: 11.94 kB / 1.374 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.5383, allocations: 0 / 1.374 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.5386, allocations: 51.95 kB / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5386, allocations: 3.953 kB / 1.374 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.5389, allocations: 59.84 kB / 1.374 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.5389, allocations: 0 / 1.374 GB, free: 6.719 MB / 0.8698 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.0001177/0.539, allocations: 133.8 kB / 1.374 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.539, allocations: 15.81 kB / 1.375 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.88e-05/0.5391, allocations: 21.41 kB / 1.375 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5391, allocations: 7.984 kB / 1.375 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5391, allocations: 0 / 1.375 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5391, allocations: 3.953 kB / 1.375 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.5395, allocations: 245.5 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.5395, allocations: 0 / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.5397, allocations: 59.94 kB / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5398, allocations: 0 / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5398, allocations: 0 / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5398, allocations: 0 / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5398, allocations: 4 kB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.5407, allocations: 415 kB / 1.375 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.5407, allocations: 88.95 kB / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.5408, allocations: 0 / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.541, allocations: 55.95 kB / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.5411, allocations: 11.97 kB / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.5411, allocations: 8 kB / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001045/0.5412, allocations: 132.3 kB / 1.376 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5412, allocations: 0 / 1.376 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002296/0.5415, allocations: 27.91 kB / 1.376 GB, free: 5.426 MB / 0.8698 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.0001753/0.5416, allocations: 111.1 kB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008037/0.5425, allocations: 283.7 kB / 1.376 GB, free: 5.027 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5425, allocations: 3.938 kB / 1.376 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.5429, allocations: 139.9 kB / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.5431, allocations: 24.95 kB / 1.376 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.5438, allocations: 342.5 kB / 1.376 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.5442, allocations: 0.7277 MB / 1.377 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000105/0.5443, allocations: 24.42 kB / 1.377 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.5443, allocations: 11.44 kB / 1.377 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/0.5443, allocations: 0 / 1.377 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of Templates: time 0.004066/0.5484, allocations: 1.482 MB / 1.379 GB, free: 2.25 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches