Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,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_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 103.4 kB / 16.35 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 193.4 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 65.16 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3941, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002564/0.3967, allocations: 1.207 MB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002548/0.397, allocations: 59.77 kB / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.397, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.3971, allocations: 4 kB / 0.9524 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3972, allocations: 11.98 kB / 0.9524 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.3974, allocations: 11.92 kB / 0.9524 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.946e-05/0.3975, allocations: 19.92 kB / 0.9524 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.3975, allocations: 0 / 0.9524 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.194e-05/0.3976, allocations: 7.984 kB / 0.9524 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.3976, allocations: 12.73 kB / 0.9524 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3977, allocations: 0 / 0.9524 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.714e-05/0.3977, allocations: 4 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.3978, allocations: 56.38 kB / 0.9525 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.3979, allocations: 35.75 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.398, allocations: 75.59 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3981, allocations: 0 / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3981, allocations: 0 / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3981, allocations: 0 / 0.9526 GB, free: 6.543 MB / 0.7325 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.0004643/0.3985, allocations: 431.7 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3986, allocations: 8.031 kB / 0.953 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.3987, allocations: 88.12 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.3988, allocations: 271.3 kB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.3989, allocations: 154.7 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.399, allocations: 158.5 kB / 0.9536 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.663e-05/0.399, allocations: 105 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.3991, allocations: 75.28 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.3991, allocations: 150.6 kB / 0.954 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/0.3992, allocations: 158.6 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.319e-05/0.3993, allocations: 150.6 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.3996, allocations: 0.492 MB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.3997, allocations: 177 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.3998, allocations: 84.14 kB / 0.955 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.3998, allocations: 79.22 kB / 0.9551 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.3999, allocations: 109.8 kB / 0.9552 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3999, allocations: 0 / 0.9552 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.357e-05/0.3999, allocations: 41.52 kB / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.4, allocations: 130.6 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.4003, allocations: 227.1 kB / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4003, allocations: 25.7 kB / 0.9556 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.4003, allocations: 108 kB / 0.9557 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.4004, allocations: 4 kB / 0.9557 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.4004, allocations: 37.69 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4005, allocations: 326.8 kB / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.4006, allocations: 55.91 kB / 0.9561 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.4007, allocations: 62.2 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.4009, allocations: 138.5 kB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4009, allocations: 0 / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003053/0.4012, allocations: 177.3 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4012, allocations: 8 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4012, allocations: 0 / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4012, allocations: 0 / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.4012, allocations: 0 / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4013, allocations: 0 / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.4013, allocations: 19.69 kB / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.4013, allocations: 4 kB / 0.9565 GB, free: 2.332 MB / 0.7325 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.0001294/0.4015, allocations: 212.6 kB / 0.9567 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.4015, allocations: 108.9 kB / 0.9568 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.4016, allocations: 121.5 kB / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.284e-05/0.4017, allocations: 180.3 kB / 0.9571 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.588e-05/0.4017, allocations: 176.3 kB / 0.9572 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.591e-05/0.4018, allocations: 184.2 kB / 0.9574 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.402, allocations: 441.1 kB / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/0.4021, allocations: 113 kB / 0.9579 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.4021, allocations: 101 kB / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/0.4022, allocations: 176.3 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/0.4023, allocations: 184.2 kB / 0.9584 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.356e-05/0.4023, allocations: 184.2 kB / 0.9585 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.97e-05/0.4024, allocations: 180.2 kB / 0.9587 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.4026, allocations: 327.7 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.248e-05/0.4026, allocations: 193.9 kB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.4027, allocations: 184.3 kB / 0.9594 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.4028, allocations: 104.9 kB / 0.9595 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.4029, allocations: 184.3 kB / 0.9597 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.4029, allocations: 104.9 kB / 0.9598 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001143/0.4031, allocations: 160.6 kB / 0.9599 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4031, allocations: 3.938 kB / 0.9599 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002583/0.4033, allocations: 16 kB / 0.9599 GB, free: 14.55 MB / 0.7481 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.0001694/0.4035, allocations: 186.5 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.4037, allocations: 79.91 kB / 0.9602 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4037, allocations: 0 / 0.9602 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.4037, allocations: 0 / 0.9602 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.4041, allocations: 467.7 kB / 0.9606 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.4046, allocations: 298.2 kB / 0.9609 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.4048, allocations: 0.7078 MB / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.4049, allocations: 11.98 kB / 0.9616 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.4049, allocations: 7.438 kB / 0.9616 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.4049, allocations: 0 / 0.9616 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.003188/0.4081, allocations: 0.7383 MB / 0.9624 GB, free: 12.01 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches