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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01002/0.01002, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.0023/0.0023, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.65/2.65, allocations: 437 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3162, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002117/0.3184, allocations: 0.8418 MB / 1.167 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3197, allocations: 0.9013 MB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.3198, allocations: 3.938 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.3199, allocations: 7.875 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.3201, allocations: 23.8 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.3203, allocations: 51.92 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.3205, allocations: 131.7 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3207, allocations: 48.97 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3208, allocations: 59.83 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.321, allocations: 79.72 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.321, allocations: 12 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/0.3211, allocations: 12 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.3211, allocations: 39.89 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.897e-05/0.3212, allocations: 51.66 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3214, allocations: 151.4 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3214, allocations: 0 / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3214, allocations: 0 / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3215, allocations: 0 / 1.169 GB, free: 4.832 MB / 0.92 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.0008805/0.3223, allocations: 446.6 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3224, allocations: 12.02 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.3224, allocations: 38.75 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.3225, allocations: 12.75 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3227, allocations: 204.6 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3227, allocations: 7.938 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3228, allocations: 15.98 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.3232, allocations: 145.5 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3232, allocations: 0 / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.3232, allocations: 8 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3233, allocations: 0 / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.3238, allocations: 162.1 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.3246, allocations: 412.4 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.3255, allocations: 178.5 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.3258, allocations: 80.91 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3258, allocations: 4 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3258, allocations: 30.56 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.3258, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0009982/0.3268, allocations: 289.5 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.3269, allocations: 51.41 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.3271, allocations: 156.4 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3272, allocations: 29.8 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3273, allocations: 111.9 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.3274, allocations: 27.64 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3275, allocations: 25.7 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3277, allocations: 326.8 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.328, allocations: 75.86 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.3282, allocations: 79.92 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.3288, allocations: 148.7 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3288, allocations: 0 / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000605/0.3294, allocations: 213.2 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3294, allocations: 4 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3294, allocations: 4 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3295, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.3297, allocations: 43.95 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3298, allocations: 3.984 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.3299, allocations: 23.91 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.33, allocations: 4 kB / 1.172 GB, free: 1.293 MB / 0.92 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.0001405/0.3301, allocations: 129.8 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.3302, allocations: 11.84 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.3302, allocations: 16.72 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3302, allocations: 4 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3302, allocations: 0 / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.3302, allocations: 4.266 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.3305, allocations: 229.5 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3305, allocations: 3.938 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.3308, allocations: 43.89 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3308, allocations: 0 / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3308, allocations: 7.984 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3308, allocations: 0 / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3308, allocations: 0 / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000752/0.3316, allocations: 303.2 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.3317, allocations: 88.89 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.3317, allocations: 7.938 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.3319, allocations: 19.97 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3321, allocations: 35.97 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3321, allocations: 7.984 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001028/0.3322, allocations: 105.7 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3322, allocations: 3.938 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002942/0.3325, allocations: 27.91 kB / 1.173 GB, free: 176 kB / 0.92 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.001059/0.3336, allocations: 0.845 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006076/0.3342, allocations: 171.8 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3342, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.3345, allocations: 96.28 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.3348, allocations: 24.11 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.3378, allocations: 1.839 MB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3382, allocations: 0.7046 MB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.3383, allocations: 24.42 kB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.3384, allocations: 47.41 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/0.3385, allocations: 0 / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.3597, allocations: 3.807 MB / 1.18 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.116, allocations: 10.56 kB / 1.18 GB, free: 8.59 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > 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) "" Variables in the reference:time,add1.u[1],add1.u[2],add1.u[3],add1.y Variables in the result:add1.k[1],add1.k[2],add1.k[3],add1.nin,add1.u[1],add1.u[2],add1.u[3],add1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,reaToInt2.u,reaToInt2.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,round3.n,round3.u,round3.y,time