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.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001255/0.001255, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.168/1.168, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.259/2.259, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 59.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.6511, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002203/0.6534, allocations: 0.9137 MB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.6543, allocations: 0.9013 MB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.6544, allocations: 3.938 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.6545, allocations: 3.938 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.6546, allocations: 11.92 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.6548, allocations: 51.94 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.655, allocations: 123.7 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.6552, allocations: 49.08 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.6552, allocations: 59.83 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.6554, allocations: 83.66 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.6554, allocations: 12 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.187e-05/0.6555, allocations: 12 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.6555, allocations: 39.84 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.6556, allocations: 51.7 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.6558, allocations: 143.5 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6558, allocations: 0 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6558, allocations: 0 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.6558, allocations: 0 / 1.019 GB, free: 208 kB / 0.7637 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.0008353/0.6566, allocations: 453.1 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.6567, allocations: 8.031 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.6567, allocations: 42.73 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.6568, allocations: 12.84 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.657, allocations: 205.3 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.657, allocations: 12.12 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.657, allocations: 8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.6574, allocations: 151.4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.6574, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.6575, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6575, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.658, allocations: 159.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.6586, allocations: 420.4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.6595, allocations: 174.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.6597, allocations: 92.84 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.6598, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.6598, allocations: 38.56 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.6598, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0008736/0.6607, allocations: 289.2 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6607, allocations: 51.41 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.6608, allocations: 145.6 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.6609, allocations: 29.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.6609, allocations: 111.9 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.661, allocations: 31.55 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.661, allocations: 25.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6612, allocations: 322.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.6614, allocations: 83.86 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.6617, allocations: 71.92 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.6621, allocations: 152.7 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6621, allocations: 4 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005454/0.6627, allocations: 205.9 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6627, allocations: 8 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.6627, allocations: 96 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6628, allocations: 3.938 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.663, allocations: 39.95 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.663, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.6632, allocations: 19.97 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.6632, allocations: 7.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 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.0001101/0.6633, allocations: 130.4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.6634, allocations: 15.75 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.6634, allocations: 16.72 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6634, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6634, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6634, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.6637, allocations: 237.5 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6637, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.6639, allocations: 39.89 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6639, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.6639, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6639, allocations: 3.984 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.664, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.6646, allocations: 295.2 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.6646, allocations: 96.86 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.6646, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.6648, allocations: 23.97 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.665, allocations: 39.84 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.665, allocations: 4 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.76e-05/0.665, allocations: 113.3 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6651, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002342/0.6653, allocations: 24 kB / 1.024 GB, free: 11.53 MB / 0.7794 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.000874/0.6662, allocations: 0.845 MB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.6667, allocations: 167.8 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6668, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.667, allocations: 107.8 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.6673, allocations: 13.56 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.6699, allocations: 1.869 MB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.6702, allocations: 0.7041 MB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.6703, allocations: 24.42 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.6704, allocations: 47.41 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6704, allocations: 0 / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.6973, allocations: 3.441 MB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.6975, allocations: 211.8 kB / 1.031 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.442, allocations: 0 / 1.031 GB, free: 4.062 MB / 0.7794 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=50 --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