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.001106/0.001107, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001378/0.001379, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.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.425/2.425, allocations: 390.3 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003874, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9278/0.9282, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00115/0.9294, allocations: 0.9274 MB / 0.9544 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001813/0.9296, allocations: 46.22 kB / 0.9545 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.9297, allocations: 1.094 kB / 0.9545 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.9297, allocations: 0 / 0.9545 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.9298, allocations: 9.359 kB / 0.9545 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.93, allocations: 11.33 kB / 0.9545 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.93, allocations: 12.48 kB / 0.9545 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.9301, allocations: 0 / 0.9545 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.9301, allocations: 11.39 kB / 0.9545 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.9301, allocations: 2.375 kB / 0.9545 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.9302, allocations: 0 / 0.9545 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.025e-05/0.9302, allocations: 7.656 kB / 0.9545 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.499e-05/0.9303, allocations: 44.89 kB / 0.9546 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.9303, allocations: 38.08 kB / 0.9546 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.917e-05/0.9304, allocations: 48.5 kB / 0.9546 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.9304, allocations: 1.062 kB / 0.9546 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.113e-06/0.9304, allocations: 0 / 0.9546 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.9304, allocations: 0 / 0.9546 GB, free: 7.242 MB / 0.7169 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.0003416/0.9308, allocations: 411 kB / 0.955 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.9308, allocations: 12.62 kB / 0.955 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.9309, allocations: 92.02 kB / 0.9551 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.931, allocations: 255.5 kB / 0.9554 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.9311, allocations: 158.5 kB / 0.9555 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.9311, allocations: 152.1 kB / 0.9557 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.796e-05/0.9311, allocations: 101 kB / 0.9558 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.9312, allocations: 80.56 kB / 0.9558 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.9312, allocations: 154.6 kB / 0.956 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.9312, allocations: 158.5 kB / 0.9561 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.471e-05/0.9313, allocations: 155.6 kB / 0.9563 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.9315, allocations: 0.493 MB / 0.9568 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/0.9315, allocations: 173.1 kB / 0.9569 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.9315, allocations: 76.5 kB / 0.957 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.9316, allocations: 113.8 kB / 0.9571 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.9316, allocations: 1.562 kB / 0.9571 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.966e-05/0.9317, allocations: 40.95 kB / 0.9572 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.9317, allocations: 136.1 kB / 0.9573 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.9319, allocations: 219.1 kB / 0.9575 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.9319, allocations: 25.7 kB / 0.9575 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.932, allocations: 110.1 kB / 0.9576 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.932, allocations: 1.156 kB / 0.9576 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.932, allocations: 0 / 0.9576 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.9321, allocations: 330.9 kB / 0.9579 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.9322, allocations: 53.25 kB / 0.958 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.9322, allocations: 58.08 kB / 0.958 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.156e-05/0.9323, allocations: 68.53 kB / 0.9581 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9323, allocations: 0 / 0.9581 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002917/0.9326, allocations: 171.2 kB / 0.9583 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.9327, allocations: 5.531 kB / 0.9583 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.9327, allocations: 3.984 kB / 0.9583 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.9327, allocations: 3.938 kB / 0.9583 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.9327, allocations: 1.219 kB / 0.9583 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.9327, allocations: 0 / 0.9583 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.9328, allocations: 15.16 kB / 0.9583 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.9328, allocations: 4.812 kB / 0.9583 GB, free: 3.641 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.9329, allocations: 209 kB / 0.9585 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.933, allocations: 108.9 kB / 0.9586 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.933, allocations: 126.2 kB / 0.9587 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.451e-05/0.933, allocations: 181.3 kB / 0.9589 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-05/0.9331, allocations: 177.6 kB / 0.9591 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.592e-05/0.9331, allocations: 184.2 kB / 0.9593 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.9334, allocations: 436.1 kB / 0.9597 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-05/0.9334, allocations: 110 kB / 0.9598 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.9335, allocations: 106.3 kB / 0.9599 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.7e-05/0.9335, allocations: 176.3 kB / 0.96 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.9336, allocations: 183 kB / 0.9602 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.263e-05/0.9336, allocations: 181.5 kB / 0.9604 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.658e-05/0.9336, allocations: 189.1 kB / 0.9606 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.749e-05/0.9337, allocations: 313.9 kB / 0.9609 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.9338, allocations: 194.2 kB / 0.9611 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.9339, allocations: 185.8 kB / 0.9612 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.9339, allocations: 104.9 kB / 0.9613 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.934, allocations: 181.7 kB / 0.9615 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.934, allocations: 106.4 kB / 0.9616 GB, free: 104 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002063/0.9342, allocations: 162.6 kB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.393e-06/0.9343, allocations: 3.938 kB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002945/0.9346, allocations: 26.94 kB / 0.9618 GB, free: 15.97 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002398/0.9348, allocations: 176.2 kB / 0.962 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.935, allocations: 79.33 kB / 0.962 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.935, allocations: 0 / 0.962 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.935, allocations: 1.312 kB / 0.962 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.9354, allocations: 0.5297 MB / 0.9626 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.9359, allocations: 305.2 kB / 0.9628 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.9363, allocations: 0.7177 MB / 0.9635 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.9363, allocations: 8.828 kB / 0.9636 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.9364, allocations: 14.36 kB / 0.9636 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9364, allocations: 0 / 0.9636 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.003053/0.9394, allocations: 0.6798 MB / 0.9642 GB, free: 13.88 MB / 0.7325 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 -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","../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches