Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, 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.001192/0.001192, allocations: 199 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.51/1.51, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.929/2.929, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.22 kB / 0.8991 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002495/0.3192, allocations: 0.9363 MB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3204, allocations: 0.878 MB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.3205, allocations: 0 / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.3207, allocations: 19.86 kB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.3209, allocations: 23.78 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.321, allocations: 35.97 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.3212, allocations: 127.6 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.3214, allocations: 57.27 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.3215, allocations: 55.77 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.3217, allocations: 79.72 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.3217, allocations: 8 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-05/0.3218, allocations: 8 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.3218, allocations: 43.78 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.3219, allocations: 67.58 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.3221, allocations: 120 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3221, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3221, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.3221, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009779/0.3231, allocations: 0.5065 MB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3231, allocations: 11.97 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.3232, allocations: 24.69 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3234, allocations: 216 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.3234, allocations: 384 / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3235, allocations: 12.38 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.324, allocations: 190 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.324, allocations: 192 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3241, allocations: 7.938 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3241, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007359/0.3248, allocations: 215.8 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.3259, allocations: 0.5198 MB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.3263, allocations: 142.5 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.3267, allocations: 120.7 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3267, allocations: 192 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3268, allocations: 42.5 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.3268, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001161/0.3279, allocations: 357.2 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.328, allocations: 55.41 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3282, allocations: 180.5 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3282, allocations: 26.08 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.3283, allocations: 127.9 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.3283, allocations: 27.56 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.3284, allocations: 17.72 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3286, allocations: 338.8 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.3289, allocations: 99.89 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.3293, allocations: 103.9 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.3299, allocations: 220.6 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3299, allocations: 0 / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007451/0.3307, allocations: 257.3 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3307, allocations: 8 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3307, allocations: 3.938 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3308, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.3311, allocations: 39.95 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3311, allocations: 7.938 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.3313, allocations: 35.84 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3313, allocations: 8 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001159/0.3314, allocations: 125.8 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.3315, allocations: 11.91 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.295e-05/0.3315, allocations: 25.39 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3316, allocations: 0 / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3316, allocations: 3.938 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3316, allocations: 0 / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.3319, allocations: 257.4 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3319, allocations: 0 / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.3321, allocations: 52.17 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3321, allocations: 0 / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3322, allocations: 7.984 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.3322, allocations: 3.938 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3322, allocations: 3.938 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008249/0.333, allocations: 355.1 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3331, allocations: 81.02 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3331, allocations: 12 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.3333, allocations: 31.95 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.3334, allocations: 19.91 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3334, allocations: 4 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001042/0.3335, allocations: 139.2 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3335, allocations: 0 / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002502/0.3338, allocations: 27.91 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001752/0.334, allocations: 107.2 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007743/0.3348, allocations: 219.7 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3348, allocations: 4 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.3351, allocations: 119.8 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3355, allocations: 21.66 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.3361, allocations: 378.8 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3365, allocations: 0.7316 MB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.3365, allocations: 11.44 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.3366, allocations: 0 / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.003873/0.3404, allocations: 2.015 MB / 1.064 GB, free: 12.88 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches