Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00864/0.00864, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001478/0.001477, allocations: 195.7 kB / 16.68 MB, free: 5.52 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.305/2.305, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.89 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9876/0.9888, allocations: 140.4 MB / 1.088 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001945/0.9908, allocations: 0.8461 MB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.9919, allocations: 0.8933 MB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.9919, allocations: 5.125 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.9921, allocations: 10.22 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.9922, allocations: 25.25 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.9924, allocations: 61.52 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.9926, allocations: 132.9 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.9928, allocations: 44.48 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.9929, allocations: 62.55 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.9931, allocations: 71.09 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.9931, allocations: 12.59 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.506e-05/0.9931, allocations: 11.22 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.9932, allocations: 38.75 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.9933, allocations: 57.7 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.9935, allocations: 146.7 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9935, allocations: 0.7969 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9935, allocations: 5.062 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.9935, allocations: 0 / 1.09 GB, free: 3.922 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000785/0.9943, allocations: 437.4 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.9944, allocations: 10.3 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.9944, allocations: 14.91 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.9946, allocations: 206.5 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.9947, allocations: 12.69 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.9947, allocations: 13 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.9951, allocations: 143.6 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9952, allocations: 0.6562 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.9952, allocations: 4.875 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.9952, allocations: 2.094 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.9958, allocations: 160.1 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.9964, allocations: 412.5 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009277/0.9974, allocations: 175.3 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.9977, allocations: 84.17 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.9977, allocations: 4.891 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.9978, allocations: 32.3 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.9978, allocations: 4 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001064/0.9988, allocations: 283.5 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.9989, allocations: 57.61 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.9991, allocations: 150.7 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.9991, allocations: 26.39 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.9991, allocations: 113.2 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.9992, allocations: 29.47 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.9993, allocations: 26.84 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.9993, allocations: 325 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.9997, allocations: 75.16 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/1, allocations: 79.06 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/1.001, allocations: 158 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.001, allocations: 0 / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006379/1.001, allocations: 200.7 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.001, allocations: 5.031 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.001, allocations: 1.641 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/1.001, allocations: 4.781 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/1.002, allocations: 40.55 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.002, allocations: 3.984 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/1.002, allocations: 23.23 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/1.002, allocations: 8.016 kB / 1.093 GB, free: 1.785 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: 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 8.546e-05/1.002, allocations: 126.4 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/1.002, allocations: 16.62 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/1.002, allocations: 22.05 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.002, allocations: 1 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.002, allocations: 0.625 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.002, allocations: 4.594 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/1.002, allocations: 234.8 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.002, allocations: 0 / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/1.002, allocations: 44.69 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.002, allocations: 0 / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/1.002, allocations: 7.531 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.003, allocations: 0.75 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.003, allocations: 0.5625 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/1.003, allocations: 305.8 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/1.003, allocations: 88.75 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/1.003, allocations: 1.547 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/1.003, allocations: 22.58 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/1.004, allocations: 30.23 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/1.004, allocations: 5.469 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.076e-05/1.004, allocations: 112.4 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.004, allocations: 0.7188 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002645/1.004, allocations: 22.69 kB / 1.094 GB, free: 1.012 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: 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.0001308/1.004, allocations: 107 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006598/1.005, allocations: 170.2 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.005, allocations: 4 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/1.005, allocations: 98.02 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/1.005, allocations: 16.59 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/1.006, allocations: 245.8 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/1.006, allocations: 0.7157 MB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001182/1.006, allocations: 19.81 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/1.007, allocations: 25.83 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.007, allocations: 0.5625 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.006665/1.013, allocations: 2.405 MB / 1.098 GB, free: 15.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches