Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_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.007655/0.007655, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.002178/0.002178, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.239/2.239, allocations: 437.1 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.91 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6369/0.6387, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001729/0.6405, allocations: 0.8499 MB / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009658/0.6415, allocations: 0.9075 MB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.6415, allocations: 0 / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.64e-05/0.6416, allocations: 11.81 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.6417, allocations: 19.86 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.6419, allocations: 55.86 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.6421, allocations: 127.7 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.6422, allocations: 49.09 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.6423, allocations: 55.77 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.6424, allocations: 79.72 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.6425, allocations: 12 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.506e-05/0.6425, allocations: 12 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.6425, allocations: 43.83 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.6426, allocations: 51.72 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.6428, allocations: 143 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6428, allocations: 3.984 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.348e-06/0.6428, allocations: 4 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.6428, allocations: 0 / 1.169 GB, free: 1.297 MB / 0.8887 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.0007377/0.6436, allocations: 442.9 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.6436, allocations: 12.92 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.6437, allocations: 38.73 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.6437, allocations: 16.84 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.6439, allocations: 206.4 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.6439, allocations: 7.938 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.6439, allocations: 11.94 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.6443, allocations: 157.4 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.6444, allocations: 0 / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.6444, allocations: 4 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.6444, allocations: 4 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.6449, allocations: 155.8 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.6455, allocations: 420.4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007915/0.6463, allocations: 174.5 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.6466, allocations: 84.86 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.6466, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.6467, allocations: 34.56 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.6467, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0009106/0.6476, allocations: 281.5 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.6476, allocations: 51.41 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.6478, allocations: 159.7 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.6478, allocations: 25.7 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.6479, allocations: 104.1 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.6479, allocations: 35.72 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.648, allocations: 29.7 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6481, allocations: 322.8 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.6484, allocations: 75.92 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.6486, allocations: 79.86 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.6491, allocations: 157.2 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.6492, allocations: 8 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005824/0.6497, allocations: 205.4 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.6498, allocations: 4 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.6498, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.6498, allocations: 4 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.65, allocations: 35.95 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.65, allocations: 4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.6502, allocations: 23.86 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.6502, allocations: 4 kB / 1.172 GB, free: 13.75 MB / 0.9044 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.0001052/0.6503, allocations: 129.8 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.6504, allocations: 11.89 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.6504, allocations: 24.7 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.6504, allocations: 0 / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6504, allocations: 0 / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.6504, allocations: 0 / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.6507, allocations: 237.5 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6507, allocations: 3.938 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.6509, allocations: 35.95 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6509, allocations: 0 / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.6509, allocations: 0 / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.651, allocations: 4 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.651, allocations: 4 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.6516, allocations: 299.2 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.6517, allocations: 92.98 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.6517, allocations: 8 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.6519, allocations: 19.97 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.652, allocations: 32.16 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.652, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.608e-05/0.6521, allocations: 116.9 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6521, allocations: 0 / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002257/0.6523, allocations: 27.95 kB / 1.173 GB, free: 12.63 MB / 0.9044 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.0009493/0.6533, allocations: 0.8449 MB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.6539, allocations: 167.8 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6539, allocations: 0 / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.6542, allocations: 103.8 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.6544, allocations: 16 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.6571, allocations: 1.847 MB / 1.176 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.6574, allocations: 0.7084 MB / 1.176 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.742e-05/0.6575, allocations: 24.42 kB / 1.176 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.6576, allocations: 47.41 kB / 1.176 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.6576, allocations: 0 / 1.176 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.062/4.72, allocations: 3.813 MB / 1.18 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/18.28, allocations: 3.953 kB / 1.18 GB, free: 5.043 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches