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.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.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_latest_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_latest_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.001575/0.001575, 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.001985/0.001985, allocations: 199.1 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.438/1.438, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.732/2.732, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 61.42 kB / 0.8991 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.296, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.003397/0.2995, allocations: 0.9081 MB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3014, allocations: 0.8975 MB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.3015, allocations: 7.938 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.3017, allocations: 3.938 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.3019, allocations: 15.92 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3022, allocations: 43.94 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.3025, allocations: 123.7 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.3027, allocations: 45 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3029, allocations: 59.81 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.3031, allocations: 79.66 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.3032, allocations: 8 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.3032, allocations: 8 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.993e-05/0.3033, allocations: 27.84 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.452e-05/0.3034, allocations: 55.7 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3036, allocations: 91.8 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3036, allocations: 3.938 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3036, allocations: 4 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3036, allocations: 0 / 1.055 GB, free: 5.918 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.001203/0.3048, allocations: 447.2 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3049, allocations: 12.03 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.305, allocations: 8.844 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3052, allocations: 208.5 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.3053, allocations: 8.375 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.3053, allocations: 11.94 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.306, allocations: 151.4 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.306, allocations: 0 / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.306, allocations: 4 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.306, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.3068, allocations: 163.8 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.3078, allocations: 420.3 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.309, allocations: 174.5 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.3094, allocations: 88.89 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.3094, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3095, allocations: 38.56 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3095, allocations: 0 / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.001288/0.3108, allocations: 281.2 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.3109, allocations: 55.41 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.311, allocations: 149.8 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.3111, allocations: 25.7 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.3112, allocations: 108 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.3112, allocations: 31.55 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.3113, allocations: 29.7 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3115, allocations: 322.8 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.3119, allocations: 75.86 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.3123, allocations: 80.23 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.3131, allocations: 156.7 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3131, allocations: 0 / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008635/0.3139, allocations: 205.4 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.314, allocations: 7.938 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.314, allocations: 4 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.314, allocations: 0 / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.3144, allocations: 39.89 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3144, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.3146, allocations: 27.81 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.3147, allocations: 8 kB / 1.058 GB, free: 2.418 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 0.0001691/0.3149, allocations: 125.8 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.3149, allocations: 15.84 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.315, allocations: 16.72 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.315, allocations: 4 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.315, allocations: 0 / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.315, allocations: 3.984 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.3154, allocations: 229.6 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3154, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.3157, allocations: 35.95 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3157, allocations: 7.938 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.3158, allocations: 3.984 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3158, allocations: 0 / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3158, allocations: 0 / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3168, allocations: 311.4 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.3169, allocations: 88.95 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3169, allocations: 0 / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.3172, allocations: 23.97 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3173, allocations: 27.95 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3174, allocations: 11.94 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001077/0.3175, allocations: 113.3 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3175, allocations: 0 / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003861/0.3179, allocations: 27.94 kB / 1.059 GB, free: 1.301 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.0001778/0.3181, allocations: 99.25 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008035/0.3189, allocations: 171.8 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3189, allocations: 4 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.3192, allocations: 87.92 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3195, allocations: 26.11 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.3201, allocations: 305.5 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.3204, allocations: 0.7043 MB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.82e-05/0.3205, allocations: 27.42 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3205, allocations: 0 / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.003527/0.3241, allocations: 1.809 MB / 1.062 GB, free: 14.03 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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