Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 1.107 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.7454, allocations: 168.7 MB / 1.271 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001762/0.7472, allocations: 0.875 MB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007808/0.748, allocations: 0.9034 MB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.748, allocations: 1.969 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.448e-05/0.7481, allocations: 10.73 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.7482, allocations: 20.59 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.7483, allocations: 58.22 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.7485, allocations: 128.1 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.7486, allocations: 32.55 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.7487, allocations: 54.78 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.7488, allocations: 80.45 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.7489, allocations: 11.38 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.629e-05/0.7489, allocations: 12.53 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.7489, allocations: 38.03 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.749, allocations: 62 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.7491, allocations: 148.2 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.7491, allocations: 0.9375 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7491, allocations: 0.7969 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7491, allocations: 0 / 1.274 GB, free: 6.23 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.0006566/0.7498, allocations: 437.1 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.7498, allocations: 9.312 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.7499, allocations: 49.31 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.7499, allocations: 14.84 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.75, allocations: 205.4 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.75, allocations: 12.7 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.7501, allocations: 8.688 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.7505, allocations: 144.6 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.7505, allocations: 0 / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.7505, allocations: 9.125 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.7505, allocations: 5.938 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.751, allocations: 152.6 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.7515, allocations: 424.6 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.7523, allocations: 167.3 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.7526, allocations: 85.25 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.7526, allocations: 1.859 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.7526, allocations: 36.95 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.7526, allocations: 0.9062 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0008796/0.7535, allocations: 284.8 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.567e-05/0.7535, allocations: 51.41 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.7536, allocations: 153.1 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.7536, allocations: 25.7 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.7536, allocations: 104.6 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.7536, allocations: 33.67 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.7537, allocations: 35.48 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.7537, allocations: 321.9 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.754, allocations: 70.42 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.7542, allocations: 75.95 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.7547, allocations: 158.4 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7547, allocations: 0 / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005562/0.7553, allocations: 211.2 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7553, allocations: 6.703 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.7553, allocations: 0 / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7553, allocations: 0.6562 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.7556, allocations: 40.34 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.7556, allocations: 1 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.7557, allocations: 25.88 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.7557, allocations: 10.69 kB / 1.277 GB, free: 4.031 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 6.598e-05/0.7558, allocations: 116.6 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.7559, allocations: 14.92 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.7559, allocations: 19.81 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7559, allocations: 5.531 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7559, allocations: 0 / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.7559, allocations: 2 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.7561, allocations: 237.6 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7561, allocations: 3.938 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.7563, allocations: 40.25 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7563, allocations: 0.9062 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.7563, allocations: 3.453 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7563, allocations: 4.938 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7563, allocations: 0 / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.7569, allocations: 303.6 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.7569, allocations: 87.75 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.7569, allocations: 0.8438 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.7571, allocations: 22.55 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/0.7572, allocations: 34.03 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.7572, allocations: 6.141 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.7573, allocations: 119.2 kB / 1.278 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7573, allocations: 0 / 1.278 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002319/0.7575, allocations: 22.61 kB / 1.278 GB, free: 3.254 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.0007614/0.7583, allocations: 0.8439 MB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005697/0.7588, allocations: 171.2 kB / 1.279 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7588, allocations: 0 / 1.279 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.7592, allocations: 95.22 kB / 1.279 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.7594, allocations: 20.47 kB / 1.279 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.7618, allocations: 1.854 MB / 1.281 GB, free: 17.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.7621, allocations: 0.7075 MB / 1.282 GB, free: 16.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.36e-05/0.7622, allocations: 21.09 kB / 1.282 GB, free: 16.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.7623, allocations: 49.02 kB / 1.282 GB, free: 16.36 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.7623, allocations: 0 / 1.282 GB, free: 16.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.7872, allocations: 3.824 MB / 1.285 GB, free: 15.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.773, allocations: 6.797 kB / 1.285 GB, free: 15.86 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 13.034067879000759]