Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0006847/0.0006847, allocations: 80.53 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0007727/0.0007727, allocations: 181.2 kB / 23.22 MB, free: 1.316 MB / 18.57 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 0.8812/0.8812, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.718/1.718, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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_11_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_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.034e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001498/0.001518, allocations: 1.22 MB / 0.9529 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001901/0.001708, allocations: 63.66 kB / 0.953 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.001737, allocations: 4 kB / 0.953 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.001767, allocations: 0 / 0.953 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.00188, allocations: 3.984 kB / 0.953 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.002026, allocations: 11.97 kB / 0.953 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.002097, allocations: 15.94 kB / 0.953 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.002134, allocations: 4 kB / 0.953 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.002177, allocations: 7.984 kB / 0.953 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.002234, allocations: 12.67 kB / 0.953 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.002248, allocations: 0 / 0.953 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.446e-05/0.002313, allocations: 15.98 kB / 0.953 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.397e-05/0.002387, allocations: 44.47 kB / 0.9531 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.002413, allocations: 23.94 kB / 0.9531 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.002524, allocations: 71.64 kB / 0.9532 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002526, allocations: 3.938 kB / 0.9532 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002527, allocations: 0 / 0.9532 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.002531, allocations: 0 / 0.9532 GB, free: 1.52 MB / 0.9011 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.0002915/0.002822, allocations: 353.5 kB / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.002856, allocations: 8.031 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.002905, allocations: 96.11 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.003083, allocations: 208.8 kB / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.003125, allocations: 150.9 kB / 0.954 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.003168, allocations: 154.9 kB / 0.9541 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.889e-05/0.003217, allocations: 109.1 kB / 0.9542 GB, free: 408 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.003238, allocations: 75.28 kB / 0.9543 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.003275, allocations: 150.6 kB / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.003311, allocations: 154.6 kB / 0.9546 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.003357, allocations: 154.5 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.003561, allocations: 445.4 kB / 0.9551 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.00362, allocations: 173.1 kB / 0.9553 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.003642, allocations: 84.14 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.003663, allocations: 75.28 kB / 0.9555 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.003694, allocations: 113.8 kB / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.003694, allocations: 0 / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.747e-05/0.003752, allocations: 41.55 kB / 0.9556 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.003791, allocations: 126.7 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.003951, allocations: 227.2 kB / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.003962, allocations: 29.7 kB / 0.956 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.004011, allocations: 108.1 kB / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.004013, allocations: 0 / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.004051, allocations: 45.69 kB / 0.9561 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.004126, allocations: 326.8 kB / 0.9564 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.004183, allocations: 51.97 kB / 0.9565 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.00423, allocations: 55.95 kB / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.004347, allocations: 150.7 kB / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004349, allocations: 0 / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002012/0.00455, allocations: 179.7 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.004562, allocations: 4 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.004568, allocations: 4 kB / 0.9569 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.004579, allocations: 0 / 0.9569 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.00458, allocations: 64 / 0.9569 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.004585, allocations: 4 kB / 0.9569 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.004612, allocations: 19.78 kB / 0.9569 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.004626, allocations: 7.938 kB / 0.9569 GB, free: 13.54 MB / 0.9167 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 7.915e-05/0.004705, allocations: 201.1 kB / 0.9571 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.004748, allocations: 124.8 kB / 0.9572 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.004782, allocations: 114.1 kB / 0.9573 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/0.00482, allocations: 184.3 kB / 0.9575 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-05/0.004861, allocations: 180.2 kB / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.139e-05/0.004902, allocations: 176.3 kB / 0.9578 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.00504, allocations: 392.8 kB / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/0.005062, allocations: 109.1 kB / 0.9583 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.005086, allocations: 108.9 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.209e-05/0.005128, allocations: 176.3 kB / 0.9586 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.00517, allocations: 192.1 kB / 0.9588 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.911e-05/0.005209, allocations: 184.2 kB / 0.9589 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-05/0.005246, allocations: 176.3 kB / 0.9591 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.579e-05/0.005332, allocations: 311.7 kB / 0.9594 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.005372, allocations: 120.9 kB / 0.9595 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.005424, allocations: 192.1 kB / 0.9597 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.005475, allocations: 105 kB / 0.9598 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.005518, allocations: 184.2 kB / 0.96 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.005541, allocations: 105 kB / 0.9601 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.959e-05/0.005621, allocations: 156.6 kB / 0.9602 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005621, allocations: 0 / 0.9602 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001605/0.005782, allocations: 16 kB / 0.9602 GB, free: 9.918 MB / 0.9167 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.0001262/0.005908, allocations: 178.5 kB / 0.9604 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.00601, allocations: 63.95 kB / 0.9605 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006011, allocations: 0 / 0.9605 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.006012, allocations: 3.938 kB / 0.9605 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.006339, allocations: 463.8 kB / 0.9609 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.006652, allocations: 323.1 kB / 0.9612 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.507e-05/0.006717, allocations: 92.8 kB / 0.9613 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.006741, allocations: 12.48 kB / 0.9613 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.006742, allocations: 4 kB / 0.9613 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of Templates: time 0.001957/0.008698, allocations: 1.192 MB / 0.9625 GB, free: 7.539 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.4170757085084915]