Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 102.1 kB / 15.98 MB, free: 5.891 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.001313/0.001313, allocations: 193.2 kB / 16.91 MB, free: 5.746 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 469.8 MB / 0.7427 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 66.89 kB / 0.9087 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3083, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002444/0.3108, allocations: 0.9022 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.3121, allocations: 0.9052 MB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.3122, allocations: 4 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.3124, allocations: 7.922 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.3125, allocations: 11.88 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.3127, allocations: 51.94 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3129, allocations: 119.8 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3131, allocations: 57 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.3132, allocations: 55.84 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.3133, allocations: 79.72 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.3134, allocations: 12 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.508e-05/0.3134, allocations: 15.94 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.3135, allocations: 31.84 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.3135, allocations: 59.7 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3137, allocations: 95.8 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3137, allocations: 3.984 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3137, allocations: 0 / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3137, allocations: 0 / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008345/0.3146, allocations: 447.2 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3146, allocations: 11.97 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.3147, allocations: 16.75 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.3149, allocations: 204.7 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3149, allocations: 8.375 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.3149, allocations: 11.92 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.3154, allocations: 151.1 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3154, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3154, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3154, allocations: 7.984 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.316, allocations: 159.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.3167, allocations: 420.4 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/0.3175, allocations: 174.4 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.3178, allocations: 84.95 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3178, allocations: 3.984 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3178, allocations: 42.56 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 2.945e-06/0.3179, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.000926/0.3188, allocations: 281.2 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3188, allocations: 55.34 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.319, allocations: 151.9 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.319, allocations: 29.7 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.3191, allocations: 100 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3191, allocations: 27.94 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.3192, allocations: 29.7 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3193, allocations: 322.8 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3196, allocations: 79.92 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3199, allocations: 75.86 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.3204, allocations: 160.7 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3204, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005723/0.321, allocations: 197.4 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.321, allocations: 11.88 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.321, allocations: 4 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.321, allocations: 0 / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.3213, allocations: 39.89 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3213, allocations: 4 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3214, allocations: 31.81 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.3215, allocations: 7.984 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001117/0.3216, allocations: 121.8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3216, allocations: 11.84 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.3217, allocations: 20.7 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3217, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3217, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3217, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.322, allocations: 233.6 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.322, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.3222, allocations: 39.89 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3222, allocations: 7.938 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3222, allocations: 4.266 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.3223, allocations: 4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3223, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.3229, allocations: 307.1 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.323, allocations: 88.95 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.323, allocations: 4 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3232, allocations: 19.97 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.3233, allocations: 27.97 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3233, allocations: 7.984 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.283e-05/0.3234, allocations: 116.4 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3234, allocations: 0 / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002396/0.3237, allocations: 27.94 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001445/0.3238, allocations: 100.1 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005907/0.3244, allocations: 175.8 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3244, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.3247, allocations: 91.86 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.325, allocations: 23.86 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.3256, allocations: 295.8 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3259, allocations: 0.7041 MB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.326, allocations: 31.34 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of SimCode: time 3.286e-06/0.326, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.003574/0.3296, allocations: 1.823 MB / 1.074 GB, free: 4.258 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches