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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 99.08 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.001357/0.001357, allocations: 177.3 kB / 15.95 MB, free: 216 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.321/1.321, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.000309, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6518, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.0009088/0.6527, allocations: 0.5609 MB / 0.9541 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008236/0.6535, allocations: 0.8754 MB / 0.9549 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.6536, allocations: 6.5 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.177e-05/0.6537, allocations: 15.91 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.6538, allocations: 25.67 kB / 0.955 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.81e-05/0.6539, allocations: 34.64 kB / 0.955 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.6541, allocations: 75.31 kB / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.6543, allocations: 47.58 kB / 0.9551 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.135e-05/0.6543, allocations: 44.61 kB / 0.9552 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.6544, allocations: 73.8 kB / 0.9552 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.6545, allocations: 5.25 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.6545, allocations: 6.188 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.6546, allocations: 38.7 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.6546, allocations: 43.36 kB / 0.9553 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.6547, allocations: 109.4 kB / 0.9554 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.6547, allocations: 3.938 kB / 0.9554 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6547, allocations: 0 / 0.9554 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.6548, allocations: 1.094 kB / 0.9554 GB, free: 6.586 MB / 0.7169 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.0008039/0.6556, allocations: 0.515 MB / 0.9559 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.6556, allocations: 9.5 kB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.6557, allocations: 19.45 kB / 0.956 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.6559, allocations: 217.9 kB / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.6559, allocations: 7.562 kB / 0.9562 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.6559, allocations: 10.38 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.6564, allocations: 209.9 kB / 0.9564 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6565, allocations: 0 / 0.9564 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.6565, allocations: 7.984 kB / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6565, allocations: 2.719 kB / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007825/0.6573, allocations: 275.9 kB / 0.9567 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.6582, allocations: 0.5302 MB / 0.9572 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.6587, allocations: 186.8 kB / 0.9574 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.6587, allocations: 1.719 kB / 0.9574 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.6587, allocations: 34.69 kB / 0.9574 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.6587, allocations: 1.969 kB / 0.9574 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.00123/0.66, allocations: 446 kB / 0.9578 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.66, allocations: 52.78 kB / 0.9579 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.6601, allocations: 175.7 kB / 0.958 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.6601, allocations: 29.7 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.6602, allocations: 122.8 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.6602, allocations: 31.62 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.6602, allocations: 5.375 kB / 0.9582 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.6603, allocations: 329.6 kB / 0.9585 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.6607, allocations: 127.6 kB / 0.9587 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.661, allocations: 129.4 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.6614, allocations: 147.2 kB / 0.9589 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6614, allocations: 0 / 0.9589 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008387/0.6623, allocations: 306.5 kB / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.6623, allocations: 12.92 kB / 0.9592 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6623, allocations: 8.953 kB / 0.9592 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6623, allocations: 1.031 kB / 0.9592 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.6627, allocations: 56.14 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6627, allocations: 1.031 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.6629, allocations: 49.42 kB / 0.9593 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.6629, allocations: 6.062 kB / 0.9594 GB, free: 3.812 MB / 0.7169 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 9.493e-05/0.663, allocations: 127.6 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.6631, allocations: 10.94 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.6631, allocations: 21.39 kB / 0.9595 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.6631, allocations: 5.047 kB / 0.9595 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6632, allocations: 4 kB / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6632, allocations: 0.9688 kB / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.6634, allocations: 249.1 kB / 0.9597 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6634, allocations: 0 / 0.9597 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.6637, allocations: 64.64 kB / 0.9598 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6637, allocations: 0 / 0.9598 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.6637, allocations: 0.9688 kB / 0.9598 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6637, allocations: 1 kB / 0.9598 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6637, allocations: 3.953 kB / 0.9598 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/0.6646, allocations: 414.2 kB / 0.9602 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.6646, allocations: 92.67 kB / 0.9603 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.6646, allocations: 1.125 kB / 0.9603 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.6649, allocations: 42.27 kB / 0.9603 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.665, allocations: 20.38 kB / 0.9604 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.665, allocations: 10.17 kB / 0.9604 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.136e-05/0.6651, allocations: 136.1 kB / 0.9605 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6651, allocations: 4.906 kB / 0.9605 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002619/0.6653, allocations: 26.22 kB / 0.9605 GB, free: 2.875 MB / 0.7169 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.0001364/0.6655, allocations: 105.5 kB / 0.9606 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008242/0.6663, allocations: 279 kB / 0.9609 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6663, allocations: 0.9688 kB / 0.9609 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.6668, allocations: 144.6 kB / 0.961 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.667, allocations: 26.8 kB / 0.9611 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.6676, allocations: 329.4 kB / 0.9614 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.6678, allocations: 0.7292 MB / 0.9621 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.977e-05/0.6679, allocations: 27 kB / 0.9621 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.6679, allocations: 10.62 kB / 0.9621 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6679, allocations: 1.125 kB / 0.9621 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of Templates: time 0.003808/0.6717, allocations: 1.486 MB / 0.9636 GB, free: 0.8672 MB / 0.7169 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