Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001738/0.001738, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002006/0.002006, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.393/3.393, allocations: 0.505 GB / 0.8108 GB, free: 22.07 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: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [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.002042/0.002042, allocations: 63.73 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3958, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002543/0.3984, allocations: 1.241 MB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002862/0.3987, allocations: 60.2 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.3987, allocations: 0 / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.3987, allocations: 0 / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.3989, allocations: 11.94 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.399, allocations: 11.98 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.3991, allocations: 23.91 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.3992, allocations: 0 / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.3992, allocations: 4 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.3993, allocations: 20.67 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.3993, allocations: 0 / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.332e-05/0.3994, allocations: 4 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3995, allocations: 52.42 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.3996, allocations: 39.69 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.3997, allocations: 75.53 kB / 1.356 GB, free: 6.434 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3997, allocations: 0 / 1.356 GB, free: 6.434 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3997, allocations: 3.938 kB / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.3997, allocations: 3.938 kB / 1.356 GB, free: 6.426 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004845/0.4002, allocations: 357.6 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4003, allocations: 12.03 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.4004, allocations: 88.12 kB / 1.356 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.4005, allocations: 213.5 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/0.4006, allocations: 158.7 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.4007, allocations: 154.6 kB / 1.357 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.74e-05/0.4008, allocations: 101 kB / 1.357 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.4008, allocations: 75.28 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/0.4009, allocations: 150.6 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/0.4009, allocations: 150.6 kB / 1.357 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.401, allocations: 162.5 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.4014, allocations: 464.9 kB / 1.358 GB, free: 4.273 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4015, allocations: 169.1 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.4016, allocations: 88.11 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.4016, allocations: 79.28 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.4017, allocations: 109.8 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.4017, allocations: 0 / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.671e-05/0.4017, allocations: 37.59 kB / 1.358 GB, free: 3.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.4018, allocations: 126.7 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.4021, allocations: 235.7 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.4021, allocations: 29.7 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/0.4022, allocations: 112.1 kB / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.4022, allocations: 0 / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.4023, allocations: 41.7 kB / 1.359 GB, free: 3.199 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4024, allocations: 326.8 kB / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.4025, allocations: 55.91 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.4026, allocations: 55.95 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.4028, allocations: 134.3 kB / 1.359 GB, free: 2.629 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4028, allocations: 0 / 1.359 GB, free: 2.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003972/0.4032, allocations: 186.4 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4032, allocations: 7.984 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4032, allocations: 0 / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4032, allocations: 4 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4032, allocations: 3.938 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4032, allocations: 0 / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.4033, allocations: 19.78 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4033, allocations: 4 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001586/0.4034, allocations: 216.9 kB / 1.36 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/0.4035, allocations: 112.9 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/0.4036, allocations: 117.4 kB / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.633e-05/0.4037, allocations: 180.2 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-05/0.4038, allocations: 188.1 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.582e-05/0.4039, allocations: 180.3 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.4042, allocations: 412.2 kB / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.555e-05/0.4042, allocations: 113 kB / 1.361 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.4042, allocations: 101 kB / 1.361 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.931e-05/0.4043, allocations: 184.2 kB / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/0.4044, allocations: 176.8 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.521e-05/0.4045, allocations: 184.2 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001007/0.4046, allocations: 184.2 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.4048, allocations: 319.9 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.4048, allocations: 112.9 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/0.4049, allocations: 188.2 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4051, allocations: 105 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.4051, allocations: 176.3 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/0.4052, allocations: 112.9 kB / 1.363 GB, free: 14.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001506/0.4053, allocations: 160.6 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4053, allocations: 0 / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002667/0.4056, allocations: 16 kB / 1.363 GB, free: 14.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000188/0.4058, allocations: 174.5 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.406, allocations: 63.89 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.406, allocations: 4 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.406, allocations: 0 / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.4064, allocations: 463.6 kB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.4071, allocations: 327.9 kB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.4076, allocations: 0.7085 MB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.4077, allocations: 15.42 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4077, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of Templates: time 0.003698/0.4114, allocations: 1.123 MB / 1.365 GB, free: 11.8 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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: 12.081256194011075]