Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001778/0.001778, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002226/0.002226, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.397/3.397, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.00207/0.00207, allocations: 62.17 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3642, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002086/0.3663, allocations: 0.8224 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3675, allocations: 0.9171 MB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.3676, allocations: 7.938 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.3677, allocations: 11.88 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3678, allocations: 15.8 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.368, allocations: 59.92 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.3682, allocations: 131.7 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3683, allocations: 29.28 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.3684, allocations: 51.84 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3685, allocations: 75.72 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.3686, allocations: 12 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.731e-05/0.3686, allocations: 16 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.3687, allocations: 39.83 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.3688, allocations: 43.78 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.369, allocations: 151.6 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.369, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.369, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.369, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 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.0008651/0.3698, allocations: 365.8 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3699, allocations: 12.03 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.3699, allocations: 46.73 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.37, allocations: 16.84 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.3702, allocations: 144.5 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.3702, allocations: 11.94 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3702, allocations: 8 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.3707, allocations: 147.3 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3707, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3707, allocations: 11.94 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3707, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.3713, allocations: 147.8 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.3719, allocations: 367.6 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008354/0.3728, allocations: 182.4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.3731, allocations: 80.86 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3731, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3731, allocations: 30.56 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3731, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.000985/0.3741, allocations: 285.4 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3742, allocations: 55.41 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3743, allocations: 147.9 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3743, allocations: 25.7 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.3744, allocations: 112 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.3745, allocations: 27.8 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.3745, allocations: 29.7 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3747, allocations: 326.8 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.375, allocations: 71.86 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.3752, allocations: 83.92 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.3758, allocations: 148.7 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3758, allocations: 0.5625 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006241/0.3764, allocations: 213.3 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3764, allocations: 7.984 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3764, allocations: 0 / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3764, allocations: 0 / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.3767, allocations: 39.95 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3767, allocations: 0 / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3769, allocations: 31.86 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3769, allocations: 7.938 kB / 1.369 GB, free: 8.398 MB / 1.061 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.0001212/0.377, allocations: 125.8 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.377, allocations: 15.83 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.3771, allocations: 12.72 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3771, allocations: 4 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3771, allocations: 0 / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3771, allocations: 0 / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.3774, allocations: 188.6 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3774, allocations: 3.938 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3776, allocations: 43.95 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3776, allocations: 0 / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3776, allocations: 3.984 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3776, allocations: 4 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3776, allocations: 0 / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/0.3783, allocations: 299.3 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.3783, allocations: 15.83 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3783, allocations: 4 kB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3785, allocations: 15.97 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3786, allocations: 39.89 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3786, allocations: 4 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001005/0.3787, allocations: 113.3 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3787, allocations: 0 / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002468/0.379, allocations: 27.95 kB / 1.37 GB, free: 7.426 MB / 1.061 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.001031/0.38, allocations: 0.8373 MB / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006168/0.3806, allocations: 171.8 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3806, allocations: 0 / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.381, allocations: 95.91 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.3812, allocations: 16 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.3843, allocations: 1.85 MB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.309e-05/0.3844, allocations: 89.05 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.3845, allocations: 28.98 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.3846, allocations: 43.41 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.3846, allocations: 0 / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.4262, allocations: 4.558 MB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.02, allocations: 8 kB / 1.377 GB, free: 15.78 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.222302675247192]