Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_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.01214/0.01214, allocations: 102.8 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.003082/0.003082, allocations: 196.5 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.217/2.217, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.116/4.116, allocations: 390.3 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 67.48 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4957, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.004023/0.4998, allocations: 0.8455 MB / 1.088 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.5018, allocations: 0.8935 MB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.502, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.5022, allocations: 15.8 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.5026, allocations: 15.86 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.503, allocations: 59.86 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.5034, allocations: 123.7 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.5037, allocations: 52.89 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.5039, allocations: 63.7 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.5042, allocations: 79.72 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.5043, allocations: 15.94 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.355e-05/0.5044, allocations: 12 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.5045, allocations: 35.84 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.5047, allocations: 55.7 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.505, allocations: 143.5 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.505, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.366e-06/0.5051, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.5051, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 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.001508/0.5066, allocations: 450.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.71e-05/0.5067, allocations: 12.03 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.473e-05/0.5068, allocations: 34.75 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.5069, allocations: 16.75 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.5073, allocations: 204.7 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.5074, allocations: 11.94 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.5074, allocations: 11.94 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.5081, allocations: 151.1 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5082, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.5082, allocations: 4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.5082, allocations: 4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009323/0.5092, allocations: 155.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.5104, allocations: 412.4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.5119, allocations: 178.4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/0.5124, allocations: 94.38 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.5125, allocations: 3.984 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.5126, allocations: 34.55 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.5126, allocations: 4 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001741/0.5143, allocations: 281.2 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.5144, allocations: 51.41 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.5147, allocations: 150.4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.5148, allocations: 34.08 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.5149, allocations: 107.9 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.515, allocations: 23.66 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.5151, allocations: 29.69 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.5154, allocations: 326.8 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/0.5158, allocations: 67.94 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.5164, allocations: 83.86 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.5174, allocations: 152.7 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5174, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001205/0.5186, allocations: 209.3 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.5187, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.5187, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.5188, allocations: 3.938 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.5193, allocations: 43.95 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.5193, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.5196, allocations: 27.81 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.5197, allocations: 7.984 kB / 1.093 GB, free: 12.05 MB / 0.8575 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.0002512/0.5199, allocations: 125.8 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.52, allocations: 11.84 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.505e-05/0.5201, allocations: 16.7 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5201, allocations: 8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5201, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5202, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.5207, allocations: 229.6 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.5207, allocations: 7.922 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.5211, allocations: 36.23 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.5212, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.5212, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.5212, allocations: 3.938 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5212, allocations: 4 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.5225, allocations: 299.1 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.5227, allocations: 96.89 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.5227, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.5231, allocations: 23.97 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.5233, allocations: 35.95 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.5234, allocations: 8 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001862/0.5236, allocations: 111.2 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5236, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005429/0.5242, allocations: 24 kB / 1.094 GB, free: 10.94 MB / 0.8575 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.001854/0.526, allocations: 0.848 MB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.5272, allocations: 179.8 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5272, allocations: 0 / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.5277, allocations: 87.92 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.5283, allocations: 24.55 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005659/0.534, allocations: 1.842 MB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.5347, allocations: 0.7045 MB / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.535, allocations: 24.42 kB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.5352, allocations: 43.42 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of SimCode: time 7.52e-07/0.5353, allocations: 3.938 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04349/0.5788, allocations: 3.801 MB / 1.101 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.58, allocations: 15.89 kB / 1.101 GB, free: 3.344 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches