Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001511/0.001511, allocations: 103 kB / 16.27 MB, free: 6.402 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.001693/0.001693, allocations: 191 kB / 17.2 MB, free: 5.969 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.476/1.476, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 68.95 kB / 0.8699 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2765, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001889/0.2785, allocations: 0.8433 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.2794, allocations: 0.8989 MB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.2795, allocations: 7.938 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.399e-05/0.2796, allocations: 11.86 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.455e-05/0.2797, allocations: 15.86 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.2799, allocations: 55.88 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.28, allocations: 131.7 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2801, allocations: 49 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.2802, allocations: 59.81 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.2804, allocations: 75.72 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.2804, allocations: 16 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.2804, allocations: 16 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.2805, allocations: 35.84 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.2805, allocations: 63.64 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.2807, allocations: 127.5 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2807, allocations: 7.984 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2807, allocations: 0 / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2807, allocations: 0 / 1.02 GB, free: 8.273 MB / 0.795 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.0007141/0.2815, allocations: 447.2 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.2815, allocations: 8.031 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.2815, allocations: 8.844 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.2817, allocations: 208.6 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2817, allocations: 8.375 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.2818, allocations: 15.94 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.2821, allocations: 141.6 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2822, allocations: 4 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.2822, allocations: 11.98 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2822, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.2827, allocations: 155.8 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.2833, allocations: 420.4 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/0.2841, allocations: 174.4 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.2843, allocations: 88.95 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.2844, allocations: 3.984 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2844, allocations: 34.5 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.2844, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0008913/0.2853, allocations: 289.2 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.2853, allocations: 51.41 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2854, allocations: 147.9 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2855, allocations: 29.7 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.2855, allocations: 112 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.2856, allocations: 27.56 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.2856, allocations: 25.7 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.2857, allocations: 323.2 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.286, allocations: 75.92 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.2862, allocations: 75.86 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.2867, allocations: 160.6 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2867, allocations: 4 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005644/0.2873, allocations: 197.5 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2873, allocations: 7.938 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2873, allocations: 0 / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2874, allocations: 0 / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.2876, allocations: 43.89 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2876, allocations: 0 / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.2878, allocations: 31.81 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.2878, allocations: 7.984 kB / 1.024 GB, free: 4.773 MB / 0.795 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 9.096e-05/0.2879, allocations: 120.2 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.2879, allocations: 15.84 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.288, allocations: 20.7 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.288, allocations: 4 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.288, allocations: 0 / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.288, allocations: 0 / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.2882, allocations: 229.6 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2882, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.2884, allocations: 39.89 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.2885, allocations: 3.938 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2885, allocations: 7.984 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2885, allocations: 0 / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2885, allocations: 8.266 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.2892, allocations: 303.1 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.2892, allocations: 88.95 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.2892, allocations: 11.94 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.2894, allocations: 23.97 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.2895, allocations: 27.97 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.2896, allocations: 11.98 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.2896, allocations: 113.9 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2896, allocations: 0 / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002347/0.2899, allocations: 23.94 kB / 1.025 GB, free: 3.648 MB / 0.795 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.000111/0.29, allocations: 103.2 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008021/0.2908, allocations: 175.8 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2908, allocations: 0 / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.2912, allocations: 95.86 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.2917, allocations: 19.92 kB / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.2924, allocations: 267.8 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.2926, allocations: 0.7041 MB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.2927, allocations: 31.36 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.2927, allocations: 0 / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of Templates: time 0.003028/0.2957, allocations: 1.81 MB / 1.028 GB, free: 416 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches