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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001209/0.001209, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 196.6 kB / 16.79 MB, free: 6.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6243/0.6258, allocations: 140.4 MB / 0.9496 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001948/0.6278, allocations: 0.9016 MB / 0.9505 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008933/0.6287, allocations: 0.8943 MB / 0.9513 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.6288, allocations: 2.469 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.6289, allocations: 7.875 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.629, allocations: 18.3 kB / 0.9514 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.6292, allocations: 53.97 kB / 0.9514 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.6294, allocations: 115.2 kB / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.6295, allocations: 42.97 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.6296, allocations: 60.38 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.6297, allocations: 73.72 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.6297, allocations: 8.25 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.348e-05/0.6298, allocations: 12.19 kB / 0.9517 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.6298, allocations: 25.41 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.6299, allocations: 58.64 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.166e-05/0.63, allocations: 92.42 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.63, allocations: 0 / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.41e-07/0.63, allocations: 4 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.63, allocations: 1.375 kB / 0.9519 GB, free: 7.277 MB / 0.7169 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.0007466/0.6307, allocations: 451.6 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6308, allocations: 9.625 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.6308, allocations: 10.34 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.631, allocations: 208.7 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.631, allocations: 8.172 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.6311, allocations: 17.41 kB / 0.9526 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.6315, allocations: 144 kB / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.6315, allocations: 1.531 kB / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.6315, allocations: 4 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6315, allocations: 2.719 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.6321, allocations: 162.6 kB / 0.9529 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.6326, allocations: 413.5 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.6335, allocations: 173.3 kB / 0.9534 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.6337, allocations: 87.38 kB / 0.9535 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.6338, allocations: 1.312 kB / 0.9535 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/0.6338, allocations: 31.84 kB / 0.9535 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.6338, allocations: 0 / 0.9535 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0009181/0.6347, allocations: 294.1 kB / 0.9538 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.6348, allocations: 56.69 kB / 0.9539 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.6349, allocations: 149.8 kB / 0.954 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.6349, allocations: 26.98 kB / 0.9541 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.6349, allocations: 108.9 kB / 0.9542 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.635, allocations: 32.8 kB / 0.9542 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.635, allocations: 33.45 kB / 0.9542 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.6351, allocations: 321.6 kB / 0.9545 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.6354, allocations: 71.14 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.6356, allocations: 80.23 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.6362, allocations: 156 kB / 0.9548 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6362, allocations: 0 / 0.9548 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005652/0.6367, allocations: 206.2 kB / 0.955 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6368, allocations: 9 kB / 0.955 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.6368, allocations: 1.375 kB / 0.955 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6368, allocations: 0 / 0.955 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.637, allocations: 40.2 kB / 0.9551 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6371, allocations: 4 kB / 0.9551 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.6372, allocations: 19.06 kB / 0.9551 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.6373, allocations: 7.281 kB / 0.9551 GB, free: 4.664 MB / 0.7169 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.154e-05/0.6373, allocations: 125.1 kB / 0.9552 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.6374, allocations: 16.69 kB / 0.9552 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.6374, allocations: 15.5 kB / 0.9552 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6374, allocations: 1.25 kB / 0.9552 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6374, allocations: 3.984 kB / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.6375, allocations: 0 / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.6377, allocations: 233.4 kB / 0.9555 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6377, allocations: 4 kB / 0.9555 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.6379, allocations: 34.86 kB / 0.9555 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.6379, allocations: 8.969 kB / 0.9555 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.6379, allocations: 9.234 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6379, allocations: 1.125 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6379, allocations: 0 / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.6385, allocations: 306.5 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.6386, allocations: 92.17 kB / 0.9559 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.6386, allocations: 0 / 0.9559 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.6388, allocations: 23.38 kB / 0.9559 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.6389, allocations: 29.64 kB / 0.956 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.6389, allocations: 6.438 kB / 0.956 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.639, allocations: 118.4 kB / 0.9561 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.639, allocations: 0 / 0.9561 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002592/0.6393, allocations: 18.38 kB / 0.9561 GB, free: 3.777 MB / 0.7169 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.0001266/0.6394, allocations: 102.7 kB / 0.9562 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005864/0.64, allocations: 171.3 kB / 0.9564 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.64, allocations: 0 / 0.9564 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.6403, allocations: 96.42 kB / 0.9564 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.6406, allocations: 22.62 kB / 0.9565 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.6411, allocations: 306 kB / 0.9568 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.6412, allocations: 0.7098 MB / 0.9575 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.6413, allocations: 16.98 kB / 0.9575 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of SimCode: time 8.71e-07/0.6413, allocations: 1.875 kB / 0.9575 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of Templates: time 0.003219/0.6445, allocations: 1.811 MB / 0.9592 GB, free: 1.633 MB / 0.7169 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/jenkins1/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