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.001488/0.001488, allocations: 103.9 kB / 16.27 MB, free: 5.871 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.001696/0.001696, allocations: 189.5 kB / 17.2 MB, free: 5.516 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.9 MB, free: 15.2 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.234/2.234, allocations: 390.2 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.98 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2841, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002434/0.2865, allocations: 0.8414 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2879, allocations: 0.8973 MB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.288, allocations: 4 kB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.2881, allocations: 15.8 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2883, allocations: 11.88 kB / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.2886, allocations: 63.84 kB / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.2888, allocations: 123.8 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.289, allocations: 49.08 kB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2891, allocations: 59.77 kB / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.2893, allocations: 79.72 kB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.2893, allocations: 12 kB / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.912e-05/0.2894, allocations: 12 kB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.2894, allocations: 31.89 kB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.2895, allocations: 59.66 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2897, allocations: 139.6 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2897, allocations: 0 / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.398e-06/0.2897, allocations: 0 / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2898, allocations: 11.88 kB / 0.9526 GB, free: 6.434 MB / 0.7325 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.0008847/0.2907, allocations: 448.3 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2907, allocations: 8.031 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.2908, allocations: 12.84 kB / 0.9531 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.291, allocations: 213.7 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.291, allocations: 8.375 kB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.291, allocations: 7.938 kB / 0.9533 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.2915, allocations: 153.5 kB / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2915, allocations: 0 / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.2915, allocations: 7.984 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2916, allocations: 4 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.2922, allocations: 151.8 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.2929, allocations: 424.3 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.2938, allocations: 170.4 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.2941, allocations: 84.95 kB / 0.9542 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2941, allocations: 4 kB / 0.9542 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2941, allocations: 38.55 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.2941, allocations: 0 / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0009796/0.2951, allocations: 281.2 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.2952, allocations: 51.41 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.2953, allocations: 152.9 kB / 0.9547 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2953, allocations: 25.7 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.2954, allocations: 104 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.2955, allocations: 27.56 kB / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.2955, allocations: 33.69 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2957, allocations: 322.8 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.2959, allocations: 79.8 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.2962, allocations: 76.3 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.2968, allocations: 164.8 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2968, allocations: 0 / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006311/0.2974, allocations: 201.4 kB / 0.9557 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2975, allocations: 7.938 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2975, allocations: 0 / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2975, allocations: 0 / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.2978, allocations: 35.95 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.2978, allocations: 4 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.298, allocations: 19.91 kB / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.298, allocations: 7.984 kB / 0.9558 GB, free: 2.949 MB / 0.7325 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.0001356/0.2982, allocations: 133.3 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.2982, allocations: 15.75 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.2982, allocations: 20.7 kB / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2983, allocations: 0 / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2983, allocations: 0 / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2983, allocations: 0 / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.2985, allocations: 233.6 kB / 0.9562 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2986, allocations: 0 / 0.9562 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.2988, allocations: 39.95 kB / 0.9562 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2988, allocations: 7.922 kB / 0.9562 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2988, allocations: 4 kB / 0.9562 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2988, allocations: 4 kB / 0.9562 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2988, allocations: 0 / 0.9562 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.2995, allocations: 303.3 kB / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.2996, allocations: 92.86 kB / 0.9566 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.2996, allocations: 0 / 0.9566 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2998, allocations: 23.97 kB / 0.9566 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2999, allocations: 35.95 kB / 0.9567 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2999, allocations: 0 / 0.9567 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.778e-05/0.3, allocations: 120.9 kB / 0.9568 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3, allocations: 0 / 0.9568 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002608/0.3003, allocations: 27.94 kB / 0.9568 GB, free: 1.82 MB / 0.7325 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.0001493/0.3005, allocations: 99.25 kB / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006579/0.3011, allocations: 179.8 kB / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3011, allocations: 3.938 kB / 0.9571 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.3014, allocations: 95.86 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3018, allocations: 25.45 kB / 0.9572 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.3024, allocations: 259.6 kB / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3027, allocations: 0.7156 MB / 0.9582 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.3028, allocations: 23.42 kB / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.3028, allocations: 0 / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of Templates: time 0.00382/0.3067, allocations: 1.815 MB / 0.9599 GB, free: 14.56 MB / 0.7481 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