Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 108.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 71.88 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.8705, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002317/0.8728, allocations: 0.8565 MB / 1.27 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.874, allocations: 0.9013 MB / 1.27 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.8741, allocations: 0 / 1.27 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.8742, allocations: 11.81 kB / 1.27 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.8744, allocations: 23.84 kB / 1.271 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.8745, allocations: 55.88 kB / 1.271 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.8748, allocations: 131.7 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.8749, allocations: 29.11 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.875, allocations: 63.75 kB / 1.271 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.8752, allocations: 79.72 kB / 1.271 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.8752, allocations: 12 kB / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/0.8752, allocations: 12 kB / 1.271 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.8753, allocations: 31.91 kB / 1.271 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.8754, allocations: 63.64 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.8756, allocations: 141.2 kB / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8756, allocations: 0 / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8756, allocations: 0 / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.8756, allocations: 0 / 1.271 GB, free: 2.77 MB / 0.9669 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.0009126/0.8765, allocations: 450.8 kB / 1.272 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.8765, allocations: 12.03 kB / 1.272 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.8766, allocations: 38.75 kB / 1.272 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.8766, allocations: 16.84 kB / 1.272 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.8769, allocations: 215.5 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.8769, allocations: 11.94 kB / 1.272 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.8769, allocations: 4 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.8774, allocations: 155.5 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8774, allocations: 0 / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.8774, allocations: 4 kB / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.8774, allocations: 4 kB / 1.272 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.8779, allocations: 159.8 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.8787, allocations: 420.4 kB / 1.273 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008477/0.8795, allocations: 162.5 kB / 1.273 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.8798, allocations: 88.89 kB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.8798, allocations: 4 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.8798, allocations: 30.56 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.8798, allocations: 3.938 kB / 1.273 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0009307/0.8808, allocations: 293.4 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.8808, allocations: 55.41 kB / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.881, allocations: 146.4 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.881, allocations: 25.7 kB / 1.273 GB, free: 316 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.8811, allocations: 104.1 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.8811, allocations: 27.75 kB / 1.273 GB, free: 180 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.8812, allocations: 33.7 kB / 1.273 GB, free: 140 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8813, allocations: 322.8 kB / 1.274 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.8816, allocations: 71.92 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.8819, allocations: 75.92 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.8823, allocations: 160.7 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8824, allocations: 0 / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005818/0.8829, allocations: 205.9 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.883, allocations: 8 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.883, allocations: 0 / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.883, allocations: 0 / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.8832, allocations: 39.95 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8832, allocations: 96 / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.8834, allocations: 27.86 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.8834, allocations: 15.91 kB / 1.274 GB, free: 15.21 MB / 0.9825 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.0001193/0.8835, allocations: 121.8 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.8836, allocations: 11.89 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.8836, allocations: 16.72 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.8836, allocations: 3.984 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8836, allocations: 4 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.8836, allocations: 0 / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.8839, allocations: 237.4 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8839, allocations: 7.938 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.8841, allocations: 39.95 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8841, allocations: 4 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.8842, allocations: 3.984 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8842, allocations: 0 / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8842, allocations: 0 / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.8848, allocations: 303.3 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.8849, allocations: 93 kB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.8849, allocations: 0 / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.8851, allocations: 19.97 kB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.8852, allocations: 31.97 kB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.8852, allocations: 11.98 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.754e-05/0.8853, allocations: 109.5 kB / 1.275 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8853, allocations: 0 / 1.275 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002501/0.8855, allocations: 27.95 kB / 1.275 GB, free: 14.08 MB / 0.9825 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.001026/0.8866, allocations: 0.8379 MB / 1.276 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005957/0.8872, allocations: 175.7 kB / 1.276 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8872, allocations: 0 / 1.276 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.8874, allocations: 95.84 kB / 1.276 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.8877, allocations: 15.98 kB / 1.276 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.8907, allocations: 1.854 MB / 1.278 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.891, allocations: 0.7085 MB / 1.279 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.8911, allocations: 20.42 kB / 1.279 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.8912, allocations: 47.41 kB / 1.279 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.8912, allocations: 0 / 1.279 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.9189, allocations: 3.842 MB / 1.283 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/9.097, allocations: 8.047 kB / 1.283 GB, free: 6.469 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.253714908845723]