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.001563/0.001564, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.583/2.583, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.14 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.6063, allocations: 151.6 MB / 1.017 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002151/0.6085, allocations: 0.8451 MB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.6097, allocations: 0.913 MB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/0.6098, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.583e-05/0.6099, allocations: 7.875 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.61, allocations: 19.8 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.6102, allocations: 55.92 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.6104, allocations: 131.7 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.6105, allocations: 41.09 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.6107, allocations: 55.83 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.6108, allocations: 79.72 kB / 1.02 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.6109, allocations: 16 kB / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.497e-05/0.6109, allocations: 12 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.611, allocations: 39.83 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.611, allocations: 55.66 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.6112, allocations: 139.5 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6112, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6112, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.6112, allocations: 0 / 1.02 GB, free: 176 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.0009795/0.6122, allocations: 453.1 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.6123, allocations: 11.97 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.6123, allocations: 42.75 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.6124, allocations: 12.84 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.6126, allocations: 205.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.6126, allocations: 12.12 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.6126, allocations: 8 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.6131, allocations: 151 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6131, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.6131, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.6131, allocations: 4 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005746/0.6137, allocations: 155.8 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.6144, allocations: 424.4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.6152, allocations: 170.4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.6155, allocations: 88.95 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.6156, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.6156, allocations: 34.56 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.6156, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.00099/0.6166, allocations: 277.2 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.6166, allocations: 55.41 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.6168, allocations: 153.4 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.6168, allocations: 29.7 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.6169, allocations: 107.9 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.6169, allocations: 31.55 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.617, allocations: 29.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6171, allocations: 322.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.6174, allocations: 79.92 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.6177, allocations: 68.3 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.6182, allocations: 168.8 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6183, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006726/0.6189, allocations: 205.3 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.619, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.619, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.619, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.6193, allocations: 35.95 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.6193, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.6195, allocations: 19.97 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.6195, allocations: 11.98 kB / 1.023 GB, free: 12.62 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.0001284/0.6197, allocations: 117.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.6197, allocations: 27.69 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.6198, allocations: 20.7 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6198, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6198, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6198, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.6201, allocations: 233.5 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6201, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.6203, allocations: 39.89 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6204, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.6204, allocations: 11.98 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.6204, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6204, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.6212, allocations: 295.3 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.6213, allocations: 96.86 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.6213, allocations: 4 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.6215, allocations: 19.97 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.6216, allocations: 31.91 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.6216, allocations: 7.984 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.178e-05/0.6217, allocations: 117.3 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6218, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002727/0.622, allocations: 20 kB / 1.024 GB, free: 11.5 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.00107/0.6231, allocations: 0.851 MB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006572/0.6238, allocations: 171.8 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6238, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.6241, allocations: 95.92 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.6244, allocations: 21.55 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.6275, allocations: 1.842 MB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.6278, allocations: 0.708 MB / 1.028 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.6279, allocations: 20.44 kB / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.6281, allocations: 47.41 kB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of SimCode: time 8.62e-07/0.6281, allocations: 0 / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.648, allocations: 3.764 MB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.488, allocations: 7.188 kB / 1.031 GB, free: 3.949 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