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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.008004/0.008004, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.002251/0.002251, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.91 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2988, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001936/0.3008, allocations: 0.8494 MB / 1.242 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3019, allocations: 0.8934 MB / 1.243 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.302, allocations: 4 kB / 1.243 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.08e-05/0.3021, allocations: 7.875 kB / 1.243 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.3022, allocations: 19.8 kB / 1.243 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.3023, allocations: 55.92 kB / 1.243 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.3025, allocations: 131.7 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3027, allocations: 49.09 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.174e-05/0.3028, allocations: 59.81 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.3029, allocations: 75.73 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.303, allocations: 15.94 kB / 1.244 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.303, allocations: 12 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.3031, allocations: 31.89 kB / 1.244 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.3031, allocations: 63.59 kB / 1.244 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.3033, allocations: 143.4 kB / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3034, allocations: 0 / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3034, allocations: 0 / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.3034, allocations: 0 / 1.244 GB, free: 7.824 MB / 0.9981 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.0008389/0.3042, allocations: 446.9 kB / 1.244 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3043, allocations: 8.031 kB / 1.244 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.3043, allocations: 46.73 kB / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.3044, allocations: 16.84 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.3046, allocations: 204.6 kB / 1.245 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3046, allocations: 11.94 kB / 1.245 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3046, allocations: 12 kB / 1.245 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.3051, allocations: 153.5 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3051, allocations: 3.938 kB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3051, allocations: 4 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3051, allocations: 4 kB / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.3057, allocations: 159.8 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.3064, allocations: 412.5 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008848/0.3073, allocations: 170.5 kB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.3076, allocations: 88.91 kB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3077, allocations: 3.984 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3077, allocations: 34.5 kB / 1.246 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3077, allocations: 0 / 1.246 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.001036/0.3088, allocations: 285.5 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3088, allocations: 55.41 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.309, allocations: 153.2 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.309, allocations: 29.7 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.3091, allocations: 108 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.3091, allocations: 31.73 kB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.3092, allocations: 26.08 kB / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3094, allocations: 322.8 kB / 1.246 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.3096, allocations: 75.92 kB / 1.247 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.3099, allocations: 75.86 kB / 1.247 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.3105, allocations: 156.7 kB / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3105, allocations: 4 kB / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006561/0.3112, allocations: 205.4 kB / 1.247 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3112, allocations: 4 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3112, allocations: 0 / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3112, allocations: 0 / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.3115, allocations: 43.89 kB / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3115, allocations: 0 / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.3117, allocations: 27.92 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3117, allocations: 4 kB / 1.247 GB, free: 4.27 MB / 0.9981 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.0001222/0.3119, allocations: 126.3 kB / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.3119, allocations: 15.89 kB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.312, allocations: 16.72 kB / 1.247 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.312, allocations: 4 kB / 1.247 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.312, allocations: 0 / 1.247 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.312, allocations: 3.984 kB / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.3123, allocations: 233.5 kB / 1.247 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3123, allocations: 3.938 kB / 1.247 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.3126, allocations: 39.89 kB / 1.247 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3126, allocations: 0 / 1.247 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3126, allocations: 7.984 kB / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3126, allocations: 4.281 kB / 1.247 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3126, allocations: 4 kB / 1.247 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007018/0.3133, allocations: 303.2 kB / 1.248 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.3134, allocations: 89 kB / 1.248 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3134, allocations: 8 kB / 1.248 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3137, allocations: 19.97 kB / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3138, allocations: 27.97 kB / 1.248 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3138, allocations: 11.98 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.998e-05/0.3139, allocations: 109.1 kB / 1.248 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3139, allocations: 0 / 1.248 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002529/0.3142, allocations: 23.95 kB / 1.248 GB, free: 3.145 MB / 0.9981 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.001086/0.3152, allocations: 0.8411 MB / 1.249 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006467/0.3159, allocations: 167.8 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3159, allocations: 0 / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.3163, allocations: 103.8 kB / 1.249 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.3166, allocations: 17.81 kB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.3196, allocations: 1.853 MB / 1.251 GB, free: 60 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5219/0.8415, allocations: 0.6989 MB / 1.252 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.8417, allocations: 22.14 kB / 1.252 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.8418, allocations: 45.12 kB / 1.252 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/0.8418, allocations: 0 / 1.252 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.8678, allocations: 3.805 MB / 1.255 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.686, allocations: 11.34 kB / 1.255 GB, free: 14.34 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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