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.0007941/0.000794, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009635/0.0009637, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.776/2.776, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003541, allocations: 11.19 kB / 0.9034 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3058, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001106/0.307, allocations: 0.5615 MB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3082, allocations: 0.8974 MB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.3083, allocations: 4 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3084, allocations: 7.922 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.3086, allocations: 15.86 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.3088, allocations: 43.95 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.309, allocations: 127.7 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3092, allocations: 48.94 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.3093, allocations: 47.83 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3095, allocations: 67.72 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.3095, allocations: 8 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.019e-05/0.3095, allocations: 4 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.3096, allocations: 31.84 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.3097, allocations: 65.44 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.3099, allocations: 99.75 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3099, allocations: 0 / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3099, allocations: 0 / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3099, allocations: 0 / 1.061 GB, free: 2.914 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.0008559/0.3107, allocations: 443.3 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3108, allocations: 8.031 kB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.3109, allocations: 16.75 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.3111, allocations: 204.7 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3111, allocations: 8.312 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3112, allocations: 11.94 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.3116, allocations: 158.6 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3117, allocations: 0 / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3117, allocations: 8 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3117, allocations: 0 / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006403/0.3123, allocations: 199.7 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.3131, allocations: 428.3 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008814/0.314, allocations: 186.5 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.3143, allocations: 101 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3143, allocations: 4 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.3143, allocations: 34.5 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3144, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.001072/0.3154, allocations: 333.2 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.3155, allocations: 51.41 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.3157, allocations: 153 kB / 1.064 GB, free: 432 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3157, allocations: 29.7 kB / 1.064 GB, free: 396 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.3158, allocations: 104 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.3158, allocations: 27.56 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3158, allocations: 21.7 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.316, allocations: 318.8 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.3163, allocations: 91.92 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.3166, allocations: 91.92 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006123/0.3172, allocations: 193.2 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3173, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007424/0.318, allocations: 237.4 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.318, allocations: 7.938 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.318, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3181, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.3183, allocations: 51.89 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3184, allocations: 3.938 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3186, allocations: 35.81 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3186, allocations: 11.98 kB / 1.065 GB, free: 15.19 MB / 0.8262 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.000105/0.3187, allocations: 113.8 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.3187, allocations: 15.84 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.3188, allocations: 20.7 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3188, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3188, allocations: 8 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3188, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3191, allocations: 229.6 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3191, allocations: 4 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.3193, allocations: 47.89 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3193, allocations: 7.922 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3194, allocations: 4 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3194, allocations: 0 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3194, allocations: 0 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.3201, allocations: 339.1 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.3202, allocations: 88.95 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3202, allocations: 0 / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3204, allocations: 31.97 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.3205, allocations: 27.95 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3206, allocations: 12 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.944e-05/0.3206, allocations: 109.3 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3206, allocations: 4 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000262/0.3209, allocations: 24.12 kB / 1.066 GB, free: 14.03 MB / 0.8262 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.0001329/0.3211, allocations: 103.2 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006985/0.3218, allocations: 207.7 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3218, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.3221, allocations: 111.9 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3225, allocations: 15.92 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.3231, allocations: 313.2 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.3234, allocations: 0.7043 MB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.3235, allocations: 23.42 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3235, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.003746/0.3272, allocations: 1.796 MB / 1.069 GB, free: 10.71 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