Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008222/0.0008223, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009395/0.0009396, allocations: 181.9 kB / 16.92 MB, free: 6.652 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.902/2.902, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004079, allocations: 15.98 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9547/0.9551, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001527/0.9567, allocations: 0.9372 MB / 1.025 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003434/0.9571, allocations: 55.77 kB / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.9571, allocations: 0 / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.9572, allocations: 3.984 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.9574, allocations: 7.938 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.9575, allocations: 15.97 kB / 1.025 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.9576, allocations: 31.91 kB / 1.025 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.9577, allocations: 0 / 1.025 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.9577, allocations: 8 kB / 1.025 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.9578, allocations: 21.48 kB / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.9578, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.9579, allocations: 7.984 kB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.958, allocations: 48.39 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.9581, allocations: 65.44 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.9582, allocations: 45.81 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.9582, allocations: 3.938 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9582, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.9582, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.7794 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.0004853/0.9587, allocations: 418.8 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.9588, allocations: 8.031 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.852e-05/0.9589, allocations: 88.12 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.9591, allocations: 270.7 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.33e-05/0.9592, allocations: 158.5 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.9593, allocations: 150.6 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.9595, allocations: 105 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.9595, allocations: 75.28 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.9596, allocations: 150.6 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.67e-05/0.9597, allocations: 150.6 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.9598, allocations: 150.6 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.9603, allocations: 0.5016 MB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.9605, allocations: 165.1 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.9606, allocations: 84.14 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.387e-05/0.9606, allocations: 79.28 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.022e-05/0.9607, allocations: 109.8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.9608, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001243/0.9609, allocations: 41.45 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.961, allocations: 126.7 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.9613, allocations: 234.9 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.9614, allocations: 29.7 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.9615, allocations: 100.1 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.9615, allocations: 3.984 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.9616, allocations: 33.7 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.9618, allocations: 330.8 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.74e-05/0.9619, allocations: 55.95 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.962, allocations: 52.72 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.9623, allocations: 140.9 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9623, allocations: 0 / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004547/0.9627, allocations: 177.3 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.9628, allocations: 7.938 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.9628, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.9628, allocations: 4.062 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-06/0.9628, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.9628, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.9629, allocations: 19.75 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.9629, allocations: 11.92 kB / 1.029 GB, free: 10.39 MB / 0.7794 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.0001896/0.9631, allocations: 203.2 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.9632, allocations: 116.9 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.9633, allocations: 117.4 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001069/0.9634, allocations: 180.3 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001206/0.9636, allocations: 188.2 kB / 1.03 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.097e-05/0.9637, allocations: 180.2 kB / 1.03 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.964, allocations: 433.1 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.231e-05/0.964, allocations: 108.9 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.9641, allocations: 109 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.091e-05/0.9642, allocations: 180.2 kB / 1.031 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-05/0.9643, allocations: 176.3 kB / 1.031 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.642e-05/0.9644, allocations: 180.3 kB / 1.031 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.874e-05/0.9645, allocations: 184.2 kB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.9647, allocations: 327.5 kB / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.9648, allocations: 185.9 kB / 1.032 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.9649, allocations: 184.3 kB / 1.032 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.965, allocations: 109.2 kB / 1.032 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.9652, allocations: 180.2 kB / 1.032 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.954e-05/0.9652, allocations: 113 kB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001661/0.9654, allocations: 156.6 kB / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9654, allocations: 0 / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003105/0.9657, allocations: 19.94 kB / 1.032 GB, free: 6.613 MB / 0.7794 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.0003015/0.966, allocations: 178.5 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.9662, allocations: 79.98 kB / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.9663, allocations: 0 / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.9663, allocations: 4.062 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.9669, allocations: 0.5263 MB / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.9676, allocations: 347 kB / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.9681, allocations: 0.7121 MB / 1.034 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.9681, allocations: 11.44 kB / 1.034 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.9681, allocations: 4 kB / 1.034 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of Templates: time 0.003766/0.9719, allocations: 1.098 MB / 1.035 GB, free: 3.59 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches