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.001683/0.001683, allocations: 78.33 kB / 19.18 MB, free: 2.52 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.002162/0.002162, allocations: 169.9 kB / 22.46 MB, free: 5.367 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.491/1.491, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.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.101/3.101, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.691e-05, allocations: 2.281 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002535/0.002572, allocations: 1.237 MB / 1.001 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.002847, allocations: 47.8 kB / 1.001 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.002886, allocations: 3.938 kB / 1.001 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.914e-05/0.002946, allocations: 7.922 kB / 1.001 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.003086, allocations: 4 kB / 1.001 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.003264, allocations: 15.97 kB / 1.001 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.797e-05/0.003352, allocations: 11.94 kB / 1.001 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.003404, allocations: 4 kB / 1.001 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.003473, allocations: 11.97 kB / 1.001 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.003543, allocations: 12.75 kB / 1.001 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.003562, allocations: 3.938 kB / 1.001 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.003647, allocations: 7.984 kB / 1.001 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.00376, allocations: 48.47 kB / 1.001 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.003805, allocations: 19.94 kB / 1.002 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.003965, allocations: 67.64 kB / 1.002 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.003968, allocations: 0 / 1.002 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003969, allocations: 8 kB / 1.002 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.003975, allocations: 0 / 1.002 GB, free: 5.793 MB / 0.9512 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.0005195/0.004495, allocations: 345.6 kB / 1.002 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.004538, allocations: 12.03 kB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.004628, allocations: 96 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.004827, allocations: 212.8 kB / 1.002 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/0.004906, allocations: 150.9 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.004988, allocations: 150.9 kB / 1.003 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.589e-05/0.005084, allocations: 105.1 kB / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.005133, allocations: 83.28 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/0.005202, allocations: 150.6 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/0.005274, allocations: 162.5 kB / 1.003 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.005354, allocations: 154.5 kB / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.005745, allocations: 449.4 kB / 1.004 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.005856, allocations: 169.1 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.005898, allocations: 80.14 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.005939, allocations: 75.28 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.005997, allocations: 105.8 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.005999, allocations: 0 / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001074/0.006106, allocations: 45.48 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/0.006198, allocations: 130.7 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.0065, allocations: 231.2 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.006523, allocations: 25.7 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.006622, allocations: 108.1 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.006624, allocations: 0 / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.00669, allocations: 41.69 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.006857, allocations: 322.8 kB / 1.005 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.642e-05/0.006953, allocations: 59.95 kB / 1.005 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.007038, allocations: 55.97 kB / 1.005 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.007227, allocations: 138.8 kB / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.007229, allocations: 0 / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000376/0.007605, allocations: 181.5 kB / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.007623, allocations: 10.5 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.007633, allocations: 3.984 kB / 1.005 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.007651, allocations: 0 / 1.005 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-06/0.007657, allocations: 8 kB / 1.005 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.007663, allocations: 0 / 1.005 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.007711, allocations: 15.78 kB / 1.005 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.007738, allocations: 11.98 kB / 1.005 GB, free: 1.805 MB / 0.9512 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.0001622/0.0079, allocations: 201.7 kB / 1.005 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.007979, allocations: 120.8 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.463e-05/0.008054, allocations: 117.5 kB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.122e-05/0.008145, allocations: 180.3 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-05/0.008223, allocations: 184.2 kB / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.843e-05/0.008311, allocations: 176.3 kB / 1.006 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.008582, allocations: 392.8 kB / 1.007 GB, free: 384 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.992e-05/0.008632, allocations: 101 kB / 1.007 GB, free: 276 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.008683, allocations: 105.1 kB / 1.007 GB, free: 164 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.008802, allocations: 184.2 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.205e-05/0.008894, allocations: 188.2 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.607e-05/0.00897, allocations: 184.2 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.676e-05/0.009047, allocations: 176.3 kB / 1.007 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.009244, allocations: 315.7 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.009317, allocations: 124.8 kB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.009444, allocations: 188.1 kB / 1.008 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.009537, allocations: 105 kB / 1.008 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.009631, allocations: 176.3 kB / 1.008 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.009683, allocations: 104.9 kB / 1.008 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001401/0.009823, allocations: 160.6 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.009823, allocations: 0 / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002597/0.01008, allocations: 16 kB / 1.009 GB, free: 14.19 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.0002361/0.01032, allocations: 186.4 kB / 1.009 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.01049, allocations: 59.97 kB / 1.009 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.01049, allocations: 4 kB / 1.009 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.01049, allocations: 0 / 1.009 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.01094, allocations: 459.6 kB / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.01144, allocations: 301.3 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.01155, allocations: 94.3 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.01158, allocations: 16.05 kB / 1.01 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.01161, allocations: 8.5 kB / 1.01 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.01161, allocations: 0 / 1.01 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of Templates: time 0.00393/0.01554, allocations: 0.7065 MB / 1.01 GB, free: 12.32 MB / 0.9669 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/jenkins/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: 8.795365363359451]