Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001315/0.001315, allocations: 119.4 kB / 17.13 MB, free: 5.941 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.001304/0.001304, allocations: 194.2 kB / 20.08 MB, free: 3.012 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.519/1.519, allocations: 225.6 MB / 248.5 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.953/2.953, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 176] 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: 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_10_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_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 59.89 kB / 1.057 GB, free: 2.051 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.383, allocations: 160.7 MB / 1.214 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002551/0.3855, allocations: 1.204 MB / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.3858, allocations: 59.83 kB / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.3859, allocations: 0 / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.3859, allocations: 0 / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.386, allocations: 7.984 kB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.3862, allocations: 11.92 kB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.649e-05/0.3863, allocations: 19.92 kB / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.3863, allocations: 0 / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.76e-05/0.3864, allocations: 7.938 kB / 1.215 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.3864, allocations: 20.72 kB / 1.215 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.3865, allocations: 0 / 1.215 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.3865, allocations: 8 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3866, allocations: 44.44 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.3867, allocations: 39.69 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3869, allocations: 75.53 kB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3869, allocations: 0 / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3869, allocations: 0 / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3869, allocations: 0 / 1.215 GB, free: 15.5 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005706/0.3875, allocations: 434.6 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3875, allocations: 8.031 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.048e-05/0.3876, allocations: 88.12 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.3878, allocations: 279.3 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.3879, allocations: 162.6 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.388, allocations: 150.6 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.3881, allocations: 105 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/0.3881, allocations: 83.27 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.3882, allocations: 154.5 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.854e-05/0.3883, allocations: 150.6 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.568e-05/0.3884, allocations: 154.6 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.3888, allocations: 0.49 MB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3889, allocations: 173.1 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.389, allocations: 80.14 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.389, allocations: 75.28 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.125e-05/0.3891, allocations: 113.8 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3891, allocations: 0 / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001004/0.3892, allocations: 41.55 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.3893, allocations: 126.7 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.3896, allocations: 231 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.3896, allocations: 25.7 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.3897, allocations: 108.1 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.3897, allocations: 3.938 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.3897, allocations: 45.69 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3899, allocations: 326.8 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.39, allocations: 55.91 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.3901, allocations: 59.95 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3903, allocations: 135.2 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3903, allocations: 0 / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003673/0.3907, allocations: 177.4 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3907, allocations: 8 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3907, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3907, allocations: 4.062 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.3907, allocations: 0 / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3907, allocations: 0 / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.3908, allocations: 19.78 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.3908, allocations: 4 kB / 1.219 GB, free: 11.27 MB / 0.9669 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.0001475/0.3909, allocations: 205 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/0.391, allocations: 116.9 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/0.3911, allocations: 121.5 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.477e-05/0.3912, allocations: 176.3 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.932e-05/0.3912, allocations: 184.9 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.024e-05/0.3913, allocations: 180.3 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.3916, allocations: 441.2 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.087e-05/0.3917, allocations: 108.9 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.3917, allocations: 105 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.63e-05/0.3918, allocations: 180.2 kB / 1.221 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/0.3919, allocations: 180.5 kB / 1.221 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.836e-05/0.392, allocations: 180.2 kB / 1.221 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-05/0.392, allocations: 184.2 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.3922, allocations: 327.5 kB / 1.222 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3923, allocations: 194 kB / 1.222 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.3924, allocations: 176.3 kB / 1.222 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.3925, allocations: 112.9 kB / 1.222 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.3926, allocations: 180.3 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.3927, allocations: 108.9 kB / 1.223 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001457/0.3928, allocations: 156.6 kB / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3928, allocations: 0 / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002454/0.3931, allocations: 19.94 kB / 1.223 GB, free: 7.484 MB / 0.9669 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.0002076/0.3933, allocations: 181 kB / 1.223 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.3934, allocations: 59.91 kB / 1.223 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3934, allocations: 4.062 kB / 1.223 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.3934, allocations: 0 / 1.223 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3938, allocations: 459.7 kB / 1.224 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.3943, allocations: 343.5 kB / 1.224 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3947, allocations: 0.7119 MB / 1.225 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.3947, allocations: 7.438 kB / 1.225 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3947, allocations: 0 / 1.225 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of Templates: time 0.003134/0.3979, allocations: 1.126 MB / 1.226 GB, free: 4.535 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.442167809931561]