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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001463/0.001463, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.001691/0.001691, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.89 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8692/0.8707, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001909/0.8727, allocations: 0.8879 MB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.8736, allocations: 0.8704 MB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.8737, allocations: 2.062 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.8738, allocations: 19.69 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.874, allocations: 25.94 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.8741, allocations: 53.14 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.8743, allocations: 135.2 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.8745, allocations: 51.41 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.185e-05/0.8746, allocations: 53.86 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.8747, allocations: 84.95 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.8748, allocations: 16.53 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.787e-05/0.8748, allocations: 17.03 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.8749, allocations: 41.36 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.856e-05/0.875, allocations: 64.86 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.8752, allocations: 178.2 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8752, allocations: 0 / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8752, allocations: 0 / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.8752, allocations: 0.75 kB / 1.091 GB, free: 3.914 MB / 0.8575 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.0009034/0.8761, allocations: 0.4964 MB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.8762, allocations: 10.12 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.8762, allocations: 16.69 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.8764, allocations: 219.8 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.8764, allocations: 4.391 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.8764, allocations: 10.28 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.877, allocations: 180.9 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.877, allocations: 1.344 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.8771, allocations: 8.688 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8771, allocations: 2.469 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.8779, allocations: 220.6 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.8789, allocations: 0.518 MB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.8794, allocations: 149.1 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.8798, allocations: 115.6 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.8798, allocations: 1.625 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.8799, allocations: 40 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.8799, allocations: 0 / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001324/0.8812, allocations: 363.3 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.8812, allocations: 53 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.8814, allocations: 182.4 kB / 1.094 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.8814, allocations: 26.48 kB / 1.094 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.8815, allocations: 125.2 kB / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.8815, allocations: 33.58 kB / 1.094 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.8816, allocations: 21.33 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.8817, allocations: 328.2 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.8821, allocations: 100.6 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.8825, allocations: 105.6 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/0.8833, allocations: 217.8 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.8833, allocations: 0.8125 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008728/0.8842, allocations: 253.6 kB / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8842, allocations: 5.562 kB / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.8842, allocations: 1.359 kB / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8842, allocations: 4.859 kB / 1.095 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.8845, allocations: 45.92 kB / 1.095 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.8846, allocations: 5.328 kB / 1.095 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.8848, allocations: 38.38 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.8848, allocations: 6.188 kB / 1.095 GB, free: 1.68 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/0.8849, allocations: 131.7 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.8849, allocations: 14.2 kB / 1.095 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.885, allocations: 24.77 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.885, allocations: 0.5625 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.885, allocations: 4.719 kB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.885, allocations: 4.609 kB / 1.095 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.8853, allocations: 246.8 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8853, allocations: 3.938 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.8855, allocations: 46.58 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8856, allocations: 0.8438 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.8856, allocations: 5.578 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8856, allocations: 0.6562 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8856, allocations: 4.875 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.8865, allocations: 354.5 kB / 1.096 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.8865, allocations: 93.7 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.8866, allocations: 1.125 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.8868, allocations: 34.27 kB / 1.096 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.8869, allocations: 17.56 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.8869, allocations: 2.156 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001107/0.887, allocations: 137.6 kB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.887, allocations: 0 / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002679/0.8873, allocations: 29.53 kB / 1.096 GB, free: 0.8906 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.8874, allocations: 103.7 kB / 1.096 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008786/0.8883, allocations: 223.6 kB / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8883, allocations: 0 / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004197/0.8888, allocations: 119.4 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.8891, allocations: 34.52 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.8897, allocations: 344.1 kB / 1.097 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.8899, allocations: 0.725 MB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.89, allocations: 17.5 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/0.89, allocations: 0 / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.004279/0.8943, allocations: 2.031 MB / 1.099 GB, free: 15.63 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches