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.01017/0.01017, allocations: 103.5 kB / 15.73 MB, free: 6.004 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.001928/0.001928, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.477/2.477, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 59.91 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.136, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002032/1.138, allocations: 0.8743 MB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001014/1.139, allocations: 0.8788 MB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/1.139, allocations: 6.188 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/1.139, allocations: 19.8 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/1.139, allocations: 22.81 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/1.139, allocations: 40.95 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/1.14, allocations: 136.7 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/1.14, allocations: 59.28 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/1.14, allocations: 52.88 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/1.14, allocations: 85.73 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/1.14, allocations: 15.84 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/1.14, allocations: 13.31 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/1.14, allocations: 36.42 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.91e-05/1.14, allocations: 69.56 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/1.141, allocations: 185.6 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.141, allocations: 1.188 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/1.141, allocations: 4 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.017e-06/1.141, allocations: 0 / 1.09 GB, free: 3.918 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.0008967/1.142, allocations: 0.493 MB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.142, allocations: 13.22 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/1.142, allocations: 17.41 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/1.142, allocations: 212.6 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/1.142, allocations: 7.938 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/1.142, allocations: 9.125 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/1.143, allocations: 182.1 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.143, allocations: 4.188 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.143, allocations: 8.719 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.143, allocations: 2.438 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/1.143, allocations: 220.7 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.144, allocations: 0.514 MB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/1.145, allocations: 150.2 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/1.145, allocations: 119 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/1.145, allocations: 5.062 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/1.145, allocations: 32.33 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/1.145, allocations: 0 / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001238/1.147, allocations: 359.3 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/1.147, allocations: 56.56 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/1.147, allocations: 178.2 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/1.147, allocations: 31.22 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/1.147, allocations: 125.4 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/1.147, allocations: 30.03 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/1.147, allocations: 20.88 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.472e-05/1.147, allocations: 327.7 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/1.147, allocations: 104.6 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/1.148, allocations: 101.2 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/1.148, allocations: 215.2 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.149, allocations: 4.656 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007541/1.149, allocations: 257.7 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.149, allocations: 4.844 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.149, allocations: 1.578 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.149, allocations: 4.969 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/1.15, allocations: 42.17 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.15, allocations: 3.938 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/1.15, allocations: 39.25 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/1.15, allocations: 2.219 kB / 1.094 GB, free: 1.695 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 0.0001027/1.15, allocations: 130.9 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/1.15, allocations: 14.75 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/1.15, allocations: 24.61 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.15, allocations: 1.031 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/1.15, allocations: 5.031 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.15, allocations: 0.7969 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/1.15, allocations: 249.6 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.15, allocations: 5.312 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/1.151, allocations: 49.62 kB / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.151, allocations: 1.891 kB / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.151, allocations: 0 / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.151, allocations: 1.156 kB / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.151, allocations: 3.938 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/1.152, allocations: 359.5 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/1.152, allocations: 88.91 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/1.152, allocations: 1.891 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/1.152, allocations: 37.94 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/1.152, allocations: 17.28 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/1.152, allocations: 1.75 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001006/1.152, allocations: 138 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.152, allocations: 0 / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002569/1.152, allocations: 31.48 kB / 1.095 GB, free: 0.9023 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.0001442/1.153, allocations: 98.98 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007925/1.153, allocations: 226.6 kB / 1.096 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.153, allocations: 0.9688 kB / 1.096 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/1.154, allocations: 123 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/1.154, allocations: 24.72 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/1.155, allocations: 319.2 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/1.155, allocations: 0.7297 MB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.918e-05/1.155, allocations: 23.86 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/1.155, allocations: 13 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.155, allocations: 0 / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.005466/1.161, allocations: 1.975 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/jenkins/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