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.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.001599/0.001599, allocations: 113.4 kB / 17.08 MB, free: 6.012 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.001704/0.001704, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.545/1.545, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.169/3.169, allocations: 489.2 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001987/0.001987, allocations: 71.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292/1.294, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002742/1.297, allocations: 1.235 MB / 1.264 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003083/1.297, allocations: 56.91 kB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/1.297, allocations: 4.625 kB / 1.264 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/1.297, allocations: 0.6562 kB / 1.264 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/1.298, allocations: 3.484 kB / 1.264 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/1.298, allocations: 14.42 kB / 1.264 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/1.298, allocations: 15.25 kB / 1.264 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.671e-05/1.298, allocations: 1.625 kB / 1.264 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/1.298, allocations: 6.328 kB / 1.264 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.961e-05/1.298, allocations: 16.89 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/1.298, allocations: 0.7812 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/1.298, allocations: 13.28 kB / 1.264 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/1.298, allocations: 46.31 kB / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/1.298, allocations: 37.58 kB / 1.264 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/1.299, allocations: 82.42 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.299, allocations: 0.8125 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.186e-06/1.299, allocations: 0.9375 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.311e-05/1.299, allocations: 0 / 1.264 GB, free: 7 MB / 0.9981 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.000496/1.299, allocations: 425.7 kB / 1.264 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.299, allocations: 9.406 kB / 1.264 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/1.299, allocations: 88.19 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/1.299, allocations: 275.6 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/1.299, allocations: 155.5 kB / 1.265 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/1.299, allocations: 151.3 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.871e-05/1.3, allocations: 106.4 kB / 1.265 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.3, allocations: 80.06 kB / 1.265 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/1.3, allocations: 151.1 kB / 1.265 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/1.3, allocations: 155.3 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.364e-05/1.3, allocations: 150.6 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/1.3, allocations: 0.4908 MB / 1.266 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.429e-05/1.3, allocations: 169.7 kB / 1.266 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/1.3, allocations: 89.41 kB / 1.266 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/1.3, allocations: 80.06 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.3, allocations: 107.4 kB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/1.3, allocations: 4 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.664e-05/1.3, allocations: 38.34 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.3, allocations: 127.5 kB / 1.267 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/1.301, allocations: 226 kB / 1.267 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/1.301, allocations: 25.7 kB / 1.267 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/1.301, allocations: 114.7 kB / 1.267 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/1.301, allocations: 0.6875 kB / 1.267 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/1.301, allocations: 40.89 kB / 1.267 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/1.301, allocations: 332.7 kB / 1.267 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/1.301, allocations: 62.94 kB / 1.268 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/1.301, allocations: 58.12 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/1.302, allocations: 132.9 kB / 1.268 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.302, allocations: 0.8125 kB / 1.268 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004803/1.302, allocations: 175.8 kB / 1.268 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.302, allocations: 6.094 kB / 1.268 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.302, allocations: 0.5625 kB / 1.268 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.302, allocations: 4.062 kB / 1.268 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/1.302, allocations: 1 kB / 1.268 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/1.302, allocations: 0.5156 kB / 1.268 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/1.302, allocations: 11.02 kB / 1.268 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/1.302, allocations: 6.406 kB / 1.268 GB, free: 3.398 MB / 0.9981 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.0001079/1.302, allocations: 211.4 kB / 1.268 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/1.302, allocations: 114.4 kB / 1.268 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/1.302, allocations: 111.4 kB / 1.268 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/1.302, allocations: 185.7 kB / 1.269 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001541/1.303, allocations: 178.1 kB / 1.269 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.909e-05/1.303, allocations: 185.7 kB / 1.269 GB, free: 18.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/1.303, allocations: 438.1 kB / 1.269 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-05/1.303, allocations: 103.3 kB / 1.269 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/1.303, allocations: 109.5 kB / 1.269 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.56e-05/1.303, allocations: 180.1 kB / 1.27 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.303, allocations: 186.2 kB / 1.27 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.024e-05/1.304, allocations: 178.2 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-05/1.304, allocations: 181 kB / 1.27 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/1.304, allocations: 324.3 kB / 1.27 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/1.304, allocations: 199.1 kB / 1.271 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/1.304, allocations: 182.7 kB / 1.271 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/1.304, allocations: 103.2 kB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/1.304, allocations: 181.7 kB / 1.271 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/1.304, allocations: 106 kB / 1.271 GB, free: 15.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002014/1.305, allocations: 162.4 kB / 1.271 GB, free: 15.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.305, allocations: 0 / 1.271 GB, free: 15.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002954/1.305, allocations: 17.56 kB / 1.271 GB, free: 15.79 MB / 1.014 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.0002471/1.305, allocations: 182.6 kB / 1.272 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002095/1.305, allocations: 90.08 kB / 1.272 GB, free: 15.58 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.305, allocations: 0.9062 kB / 1.272 GB, free: 15.58 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/1.305, allocations: 4.062 kB / 1.272 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/1.306, allocations: 458.3 kB / 1.272 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/1.306, allocations: 326.2 kB / 1.272 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/1.307, allocations: 0.7093 MB / 1.273 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/1.307, allocations: 10.64 kB / 1.273 GB, free: 14.16 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/1.307, allocations: 0 / 1.273 GB, free: 14.16 MB / 1.014 GB Notification: Performance of Templates: time 0.00409/1.311, allocations: 1.12 MB / 1.274 GB, free: 14.04 MB / 1.014 GB " [Timeout remaining time 299] 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_2/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.371857546037063]