Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.008208/0.008208, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.00177/0.00177, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7348 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 75.81 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2975, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002026/0.2995, allocations: 0.8432 MB / 1.208 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3007, allocations: 0.8973 MB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.3008, allocations: 0 / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.3009, allocations: 11.86 kB / 1.209 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.3011, allocations: 23.81 kB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.3013, allocations: 51.92 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3015, allocations: 131.7 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3016, allocations: 53 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.3017, allocations: 51.84 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3019, allocations: 79.72 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.3019, allocations: 12 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.111e-05/0.302, allocations: 12 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.302, allocations: 39.89 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.3021, allocations: 55.66 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.3023, allocations: 151.4 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3023, allocations: 4 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3023, allocations: 0 / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3023, allocations: 0 / 1.21 GB, free: 7.68 MB / 0.9669 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.0007797/0.3031, allocations: 451 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3031, allocations: 8.625 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.3032, allocations: 38.75 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.3032, allocations: 16.75 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.3034, allocations: 210.7 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3035, allocations: 7.938 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3035, allocations: 8 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.3039, allocations: 150.5 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.3039, allocations: 0 / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.3039, allocations: 4 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3039, allocations: 4 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.3044, allocations: 155.8 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.305, allocations: 416.4 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/0.3059, allocations: 174.5 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.3062, allocations: 80.92 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3062, allocations: 11.98 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3062, allocations: 34.55 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3062, allocations: 0 / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0008926/0.3071, allocations: 285.4 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3072, allocations: 51.41 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3073, allocations: 152.6 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3073, allocations: 29.64 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.3074, allocations: 108 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3074, allocations: 27.64 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.3075, allocations: 29.69 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3076, allocations: 330.8 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.3079, allocations: 71.92 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.3081, allocations: 75.92 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.3086, allocations: 160.7 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3086, allocations: 0 / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005652/0.3092, allocations: 201.2 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3092, allocations: 8 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3092, allocations: 0 / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3092, allocations: 4 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.3095, allocations: 39.95 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3095, allocations: 3.984 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.3097, allocations: 27.84 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3097, allocations: 7.922 kB / 1.213 GB, free: 4.133 MB / 0.9669 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.0001228/0.3099, allocations: 129.8 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.3099, allocations: 11.84 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.3099, allocations: 20.7 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.31, allocations: 0 / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.31, allocations: 288 / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.31, allocations: 0 / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.3102, allocations: 229.5 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3102, allocations: 7.875 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.3105, allocations: 43.95 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3105, allocations: 3.984 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3105, allocations: 4 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3105, allocations: 0 / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3105, allocations: 0 / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.3112, allocations: 303.2 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.3112, allocations: 84.95 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3112, allocations: 4 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.3114, allocations: 15.97 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3115, allocations: 43.89 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3116, allocations: 0 / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.298e-05/0.3116, allocations: 113.5 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3117, allocations: 4 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002515/0.3119, allocations: 31.84 kB / 1.214 GB, free: 3.008 MB / 0.9669 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.0009095/0.3128, allocations: 0.8372 MB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005808/0.3134, allocations: 171.8 kB / 1.215 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3134, allocations: 4 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.3137, allocations: 96.3 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.314, allocations: 20.05 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.3167, allocations: 1.83 MB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.317, allocations: 0.7085 MB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.765e-05/0.3171, allocations: 20.44 kB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3172, allocations: 47.41 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3172, allocations: 0 / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.3386, allocations: 3.894 MB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.932, allocations: 3.938 kB / 1.221 GB, free: 11.36 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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