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.001253/0.001253, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00126/0.00126, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.18 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.342/2.342, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 63.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8069, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001932/0.8089, allocations: 0.8809 MB / 1.09 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.8099, allocations: 0.8783 MB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.81, allocations: 1.094 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.8101, allocations: 20.91 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.8103, allocations: 35.48 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.8104, allocations: 38.23 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.8106, allocations: 135.8 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.8108, allocations: 54.67 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.8109, allocations: 58.25 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.8111, allocations: 83.97 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.8111, allocations: 16.88 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.8111, allocations: 13.22 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.8112, allocations: 41.27 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.8113, allocations: 64.38 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.8115, allocations: 173.6 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.8116, allocations: 5.922 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8116, allocations: 0 / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.8116, allocations: 0 / 1.091 GB, free: 3.938 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.0008659/0.8124, allocations: 0.4929 MB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.8125, allocations: 9.172 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.8125, allocations: 16.5 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.8127, allocations: 224.9 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.8127, allocations: 8 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.8128, allocations: 13.66 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.8133, allocations: 178.2 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8134, allocations: 192 / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.8134, allocations: 4.688 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.8134, allocations: 2.312 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.8142, allocations: 228.5 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.8153, allocations: 0.5144 MB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.8158, allocations: 153.3 kB / 1.093 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.8162, allocations: 115.8 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.8162, allocations: 1.406 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.8162, allocations: 35.44 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.8163, allocations: 0 / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001329/0.8176, allocations: 360.5 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.8176, allocations: 52.09 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.8178, allocations: 179.2 kB / 1.094 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.8179, allocations: 25.7 kB / 1.094 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.8179, allocations: 133.1 kB / 1.094 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.818, allocations: 29.89 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.818, allocations: 25.58 kB / 1.094 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.8181, allocations: 322.6 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.8185, allocations: 101.6 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.8189, allocations: 106.3 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000781/0.8197, allocations: 217.9 kB / 1.095 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8197, allocations: 0.8125 kB / 1.095 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008601/0.8206, allocations: 257.1 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.8206, allocations: 6.609 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8206, allocations: 0 / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.8207, allocations: 0.7812 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.821, allocations: 42.44 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.821, allocations: 12.78 kB / 1.095 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.8212, allocations: 39.09 kB / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.8212, allocations: 1.812 kB / 1.095 GB, free: 1.703 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.896e-05/0.8213, allocations: 127.6 kB / 1.095 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.8214, allocations: 14 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.8214, allocations: 24.27 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.8214, allocations: 1.344 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8214, allocations: 8.656 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8214, allocations: 0.75 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.8217, allocations: 250.3 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8217, allocations: 0.6875 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.822, allocations: 45.89 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.822, allocations: 1.609 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.822, allocations: 0.5938 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.822, allocations: 0.7812 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8221, allocations: 9.641 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/0.823, allocations: 357.9 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.823, allocations: 89.64 kB / 1.096 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.8231, allocations: 5.812 kB / 1.096 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.8233, allocations: 29.53 kB / 1.096 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.8234, allocations: 21.48 kB / 1.096 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.8234, allocations: 5.469 kB / 1.096 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001172/0.8235, allocations: 135.1 kB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8236, allocations: 7.938 kB / 1.096 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002823/0.8238, allocations: 29.44 kB / 1.096 GB, free: 0.9062 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.000177/0.824, allocations: 100.5 kB / 1.096 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009595/0.825, allocations: 226.2 kB / 1.096 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.825, allocations: 1.125 kB / 1.096 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.8255, allocations: 114.2 kB / 1.096 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.8259, allocations: 28.84 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.8267, allocations: 350 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.827, allocations: 0.7289 MB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/0.8271, allocations: 12.88 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.8271, allocations: 0 / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.005038/0.8322, allocations: 2.035 MB / 1.099 GB, free: 15.65 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