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.0008102/0.0008102, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008044/0.0008044, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.876/0.876, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.794/1.794, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] 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.124e-06/2.124e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.799e-05, allocations: 6.219 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002249/0.002277, allocations: 1.224 MB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.002486, allocations: 59.66 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.002514, allocations: 0 / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.002544, allocations: 0 / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.002657, allocations: 7.984 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.002812, allocations: 7.984 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.002889, allocations: 19.92 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.002922, allocations: 0 / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.002965, allocations: 4 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.003022, allocations: 20.66 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.003037, allocations: 4 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.017e-05/0.003107, allocations: 4 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.003194, allocations: 56.39 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.003225, allocations: 19.94 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.00335, allocations: 67.66 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003352, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003353, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003358, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 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.0003676/0.003725, allocations: 345.6 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.003765, allocations: 20.69 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.003829, allocations: 92.12 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.003957, allocations: 212.8 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.004003, allocations: 154.9 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.004049, allocations: 150.9 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.634e-05/0.004105, allocations: 105.1 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.004128, allocations: 75.28 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.004173, allocations: 154.6 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.004214, allocations: 158.5 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.156e-05/0.004256, allocations: 150.6 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.004535, allocations: 449.4 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.304e-05/0.004608, allocations: 169.1 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.004638, allocations: 92.12 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.004662, allocations: 75.28 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.0047, allocations: 109.8 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.004701, allocations: 0 / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.708e-05/0.004778, allocations: 41.55 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.004827, allocations: 130.7 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.005034, allocations: 223.2 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.005046, allocations: 25.7 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.005107, allocations: 116.1 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.005109, allocations: 4 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.005161, allocations: 37.69 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.005256, allocations: 330.8 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.005337, allocations: 55.97 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.005406, allocations: 56.73 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.005575, allocations: 143.3 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005577, allocations: 0 / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002181/0.005795, allocations: 173.5 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.005806, allocations: 7.984 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.005812, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.005821, allocations: 64 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.005822, allocations: 4 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.005827, allocations: 4 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.005855, allocations: 15.78 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.00587, allocations: 8 kB / 1.006 GB, free: 7.543 MB / 0.9636 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 8.828e-05/0.005958, allocations: 209 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.006, allocations: 120.9 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.006037, allocations: 109.5 kB / 1.006 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.362e-05/0.00609, allocations: 184.2 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-05/0.006135, allocations: 184.3 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-05/0.006177, allocations: 176.3 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.006331, allocations: 392.8 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.168e-05/0.006363, allocations: 105.1 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.006388, allocations: 108.9 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-05/0.006439, allocations: 180.3 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.006483, allocations: 180.2 kB / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-05/0.006525, allocations: 180.2 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.848e-05/0.006584, allocations: 184.3 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.987e-05/0.006673, allocations: 315.7 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.006706, allocations: 112.9 kB / 1.009 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.006755, allocations: 188.1 kB / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.006809, allocations: 117 kB / 1.009 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.821e-05/0.006897, allocations: 180.2 kB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.006925, allocations: 101 kB / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.573e-05/0.007021, allocations: 155.2 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.007021, allocations: 0 / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001623/0.007183, allocations: 20 kB / 1.009 GB, free: 3.93 MB / 0.9636 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.0001444/0.007328, allocations: 174.5 kB / 1.01 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.007443, allocations: 63.89 kB / 1.01 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007445, allocations: 0 / 1.01 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.007447, allocations: 8.062 kB / 1.01 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.007696, allocations: 457.1 kB / 1.01 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.008001, allocations: 327 kB / 1.01 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.008059, allocations: 96.73 kB / 1.01 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.008085, allocations: 12.5 kB / 1.01 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.008085, allocations: 0 / 1.01 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of Templates: time 0.00168/0.009766, allocations: 1.2 MB / 1.012 GB, free: 1.551 MB / 0.9636 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: 6.512874868698418]