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.001171/0.001171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001459/0.001459, allocations: 196.2 kB / 16.26 MB, free: 6.629 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.41 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.302, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001861/0.3039, allocations: 0.9041 MB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000845/0.3047, allocations: 0.9091 MB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.3048, allocations: 0 / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.3049, allocations: 3.938 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.305, allocations: 15.88 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.3052, allocations: 47.94 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3053, allocations: 131.7 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3055, allocations: 49.02 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.3055, allocations: 59.78 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3057, allocations: 83.7 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.3057, allocations: 12 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.3057, allocations: 15.94 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.3058, allocations: 35.91 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.3058, allocations: 55.7 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.306, allocations: 135.5 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.306, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.306, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.306, allocations: 0 / 1.055 GB, free: 6.152 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007306/0.3067, allocations: 451.2 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3068, allocations: 12.62 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.3068, allocations: 38.73 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.3069, allocations: 16.75 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.307, allocations: 200.7 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3071, allocations: 8.125 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.3071, allocations: 11.98 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.3075, allocations: 149.5 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3075, allocations: 0 / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3075, allocations: 4 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3075, allocations: 4 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.308, allocations: 157.3 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.3086, allocations: 428.4 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007864/0.3094, allocations: 178.5 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.3097, allocations: 80.83 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3097, allocations: 0 / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3097, allocations: 38.56 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 8.61e-07/0.3097, allocations: 0 / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0008344/0.3105, allocations: 281.5 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.3106, allocations: 59.28 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3107, allocations: 152.1 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3107, allocations: 25.8 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.3108, allocations: 108 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.3108, allocations: 31.55 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.3109, allocations: 25.7 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.311, allocations: 326.8 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.3112, allocations: 75.92 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.3115, allocations: 75.92 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.3119, allocations: 160.7 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.312, allocations: 0 / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005315/0.3125, allocations: 197.4 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3125, allocations: 11.98 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3125, allocations: 0 / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3125, allocations: 4 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3128, allocations: 35.89 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3128, allocations: 4 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3129, allocations: 23.81 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.313, allocations: 4 kB / 1.058 GB, free: 2.605 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: 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.686e-05/0.3131, allocations: 129.8 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.3131, allocations: 11.84 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.3131, allocations: 16.72 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3131, allocations: 0 / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3132, allocations: 0 / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3132, allocations: 288 / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.3134, allocations: 233.5 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3134, allocations: 0 / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.3136, allocations: 51.77 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3136, allocations: 4 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3136, allocations: 4 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3136, allocations: 3.938 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3137, allocations: 0 / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.3142, allocations: 307.1 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.3143, allocations: 88.94 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3143, allocations: 8 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.3145, allocations: 19.97 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.3146, allocations: 31.97 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3146, allocations: 0 / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.524e-05/0.3147, allocations: 113.1 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3147, allocations: 4 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000242/0.3149, allocations: 27.94 kB / 1.059 GB, free: 1.48 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: 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.0008415/0.3158, allocations: 0.841 MB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005302/0.3163, allocations: 171.8 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3163, allocations: 0 / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.3166, allocations: 108.2 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3169, allocations: 17.53 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.3193, allocations: 1.853 MB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.3195, allocations: 0.7041 MB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.3196, allocations: 24.42 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.3197, allocations: 51.41 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3197, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4597/0.7795, allocations: 3.445 MB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.7797, allocations: 209.1 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.188, allocations: 1 kB / 1.066 GB, free: 10.03 MB / 0.8262 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) Reference file matches