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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001186/0.001185, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001618/0.001618, allocations: 193 kB / 16.13 MB, free: 6.648 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.374/2.374, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.6678, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002126/0.6699, allocations: 0.9021 MB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.6711, allocations: 0.9013 MB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.532e-05/0.6712, allocations: 0 / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.6713, allocations: 7.922 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.6715, allocations: 19.8 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.6716, allocations: 47.95 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.6718, allocations: 135.7 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.6719, allocations: 45 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.672, allocations: 51.83 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.6721, allocations: 71.72 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.6722, allocations: 8 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.142e-05/0.6722, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.6723, allocations: 39.84 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.6723, allocations: 55.7 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.6725, allocations: 131.5 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6725, allocations: 0 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.41e-07/0.6725, allocations: 0 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.6725, allocations: 4 kB / 1.019 GB, free: 356 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.0008264/0.6733, allocations: 445.2 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.6734, allocations: 8.031 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.6734, allocations: 38.75 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.6735, allocations: 16.83 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.6737, allocations: 209.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.6737, allocations: 8.125 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.6737, allocations: 12 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.6742, allocations: 151.9 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.6742, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.6742, allocations: 8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6742, allocations: 4 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.6748, allocations: 151.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.6754, allocations: 424.4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000796/0.6762, allocations: 162.6 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.6765, allocations: 96.73 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.6765, allocations: 3.984 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.6765, allocations: 34.56 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.6765, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0008956/0.6774, allocations: 285.2 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.6775, allocations: 51.41 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.6776, allocations: 149.2 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.6776, allocations: 29.7 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.6777, allocations: 111.9 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.6777, allocations: 27.56 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.6778, allocations: 33.69 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6779, allocations: 326.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.6782, allocations: 71.92 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.6784, allocations: 71.92 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.6789, allocations: 164.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6789, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005617/0.6795, allocations: 201.3 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6795, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6795, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.6796, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.6798, allocations: 43.94 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6798, allocations: 4.641 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.68, allocations: 23.88 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.68, allocations: 8 kB / 1.022 GB, free: 12.8 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.0001062/0.6801, allocations: 122.4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.6802, allocations: 11.84 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.6802, allocations: 24.64 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6802, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.6802, allocations: 3.938 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6802, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.6805, allocations: 237.5 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6805, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.6807, allocations: 43.89 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6807, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.6807, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6807, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6807, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.6813, allocations: 307.1 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.6814, allocations: 88.95 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.6814, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.6816, allocations: 19.97 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.6817, allocations: 31.95 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.6817, allocations: 15.92 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.897e-05/0.6818, allocations: 113.3 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6818, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002348/0.682, allocations: 20 kB / 1.023 GB, free: 11.68 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.0008609/0.6829, allocations: 0.8449 MB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.6835, allocations: 168 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6835, allocations: 192 / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.6837, allocations: 103.8 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.684, allocations: 15.98 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.6866, allocations: 1.872 MB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.6868, allocations: 0.7043 MB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.687, allocations: 24.38 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6871, allocations: 39.41 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6871, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.6992, allocations: 3.316 MB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.6995, allocations: 210.8 kB / 1.03 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.272, allocations: 0 / 1.03 GB, free: 4.324 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