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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 114.5 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 215.6 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.933/2.933, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.75 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3563, allocations: 169.9 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002328/0.3586, allocations: 0.8652 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.36, allocations: 0.921 MB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.3601, allocations: 4 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.3602, allocations: 7.875 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.3603, allocations: 27.8 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.3606, allocations: 51.92 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.3608, allocations: 127.7 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.361, allocations: 37.27 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3611, allocations: 55.78 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.3613, allocations: 79.72 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.3613, allocations: 15.94 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.104e-05/0.3614, allocations: 12 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-05/0.3614, allocations: 35.91 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.3615, allocations: 59.64 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.3618, allocations: 143 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.3618, allocations: 4 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3618, allocations: 0 / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3618, allocations: 0 / 1.286 GB, free: 9.285 MB / 0.9825 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.0009582/0.3628, allocations: 373.7 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3628, allocations: 8.031 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/0.3629, allocations: 42.75 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.3629, allocations: 16.88 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3631, allocations: 145.3 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.3632, allocations: 15.94 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.3632, allocations: 12 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.3636, allocations: 145.5 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3636, allocations: 4 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3637, allocations: 4 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3637, allocations: 4 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.3642, allocations: 155.8 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.3649, allocations: 387.5 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008228/0.3657, allocations: 170.6 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.366, allocations: 82.64 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.366, allocations: 4 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.366, allocations: 42.5 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.366, allocations: 0 / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0009489/0.367, allocations: 277.5 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.367, allocations: 55.39 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3672, allocations: 148.9 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3672, allocations: 25.7 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.3673, allocations: 112 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.3673, allocations: 31.73 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.3674, allocations: 29.7 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3675, allocations: 326.8 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.3678, allocations: 75.92 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.3681, allocations: 75.92 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.3686, allocations: 161.2 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3686, allocations: 0 / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006/0.3692, allocations: 213.3 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3692, allocations: 4 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3692, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3692, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.3695, allocations: 39.89 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3695, allocations: 7.984 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.3696, allocations: 15.97 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3697, allocations: 11.98 kB / 1.289 GB, free: 5.934 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.0001205/0.3698, allocations: 125.8 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.3698, allocations: 15.84 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.3699, allocations: 16.72 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3699, allocations: 0 / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3699, allocations: 0 / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3699, allocations: 0 / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.3701, allocations: 208.6 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3701, allocations: 3.938 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.3704, allocations: 43.89 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3704, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3704, allocations: 4 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3704, allocations: 4 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3704, allocations: 0 / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.3711, allocations: 303.3 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.3711, allocations: 19.77 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.3711, allocations: 4 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3713, allocations: 19.97 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.3714, allocations: 31.91 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3714, allocations: 7.984 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.955e-05/0.3715, allocations: 119.2 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3715, allocations: 0 / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002505/0.3718, allocations: 20 kB / 1.29 GB, free: 4.934 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.001015/0.3728, allocations: 0.8451 MB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006085/0.3734, allocations: 163.8 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3734, allocations: 4 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.3737, allocations: 95.86 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.374, allocations: 24.89 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.3771, allocations: 1.834 MB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3775, allocations: 0.7119 MB / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.3776, allocations: 16.44 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3778, allocations: 51.41 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of SimCode: time 7.81e-07/0.3778, allocations: 0 / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.4118, allocations: 3.981 MB / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.54, allocations: 7.203 kB / 1.297 GB, free: 13.22 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.583528033923358]