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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001622/0.001622, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001882/0.001882, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.2 MB / 0.665 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 65.19 kB / 0.8127 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.355, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00308/0.3581, allocations: 1.27 MB / 0.951 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002966/0.3585, allocations: 55.75 kB / 0.9511 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.3585, allocations: 0 / 0.9511 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.3586, allocations: 4 kB / 0.9511 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.3587, allocations: 10.03 kB / 0.9511 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.3589, allocations: 8 kB / 0.9511 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.359, allocations: 19.91 kB / 0.9511 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.3591, allocations: 0 / 0.9511 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.3591, allocations: 16 kB / 0.9511 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.3592, allocations: 13.48 kB / 0.9511 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3592, allocations: 3.938 kB / 0.9511 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.899e-05/0.3593, allocations: 4 kB / 0.9511 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.3594, allocations: 56.36 kB / 0.9512 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.3595, allocations: 35.75 kB / 0.9512 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.3596, allocations: 52.12 kB / 0.9513 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3596, allocations: 0 / 0.9513 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3596, allocations: 4 kB / 0.9513 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3596, allocations: 0 / 0.9513 GB, free: 7.66 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.000511/0.3602, allocations: 432 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3602, allocations: 8.031 kB / 0.9517 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.85e-05/0.3603, allocations: 84.12 kB / 0.9518 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.3605, allocations: 278.7 kB / 0.952 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.3606, allocations: 158.5 kB / 0.9522 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.3607, allocations: 154.6 kB / 0.9523 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.526e-05/0.3607, allocations: 101 kB / 0.9524 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.3608, allocations: 75.28 kB / 0.9525 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/0.3608, allocations: 150.6 kB / 0.9527 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.571e-05/0.3609, allocations: 150.6 kB / 0.9528 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.361, allocations: 154.6 kB / 0.9529 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.3615, allocations: 0.4938 MB / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3616, allocations: 169.1 kB / 0.9536 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.3617, allocations: 84.14 kB / 0.9537 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3617, allocations: 75.28 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.3618, allocations: 113.8 kB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.462e-06/0.3618, allocations: 0 / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001103/0.3619, allocations: 41.45 kB / 0.9539 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.362, allocations: 126.7 kB / 0.954 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.3622, allocations: 227.1 kB / 0.9542 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3623, allocations: 25.7 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3623, allocations: 104 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.3623, allocations: 4 kB / 0.9544 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.3624, allocations: 45.69 kB / 0.9544 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3625, allocations: 330.8 kB / 0.9547 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.986e-05/0.3626, allocations: 51.97 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.3627, allocations: 58.02 kB / 0.9548 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3629, allocations: 132.8 kB / 0.9549 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3629, allocations: 0 / 0.9549 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003591/0.3633, allocations: 183 kB / 0.9551 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3633, allocations: 8 kB / 0.9551 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3633, allocations: 8.047 kB / 0.9551 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3633, allocations: 0 / 0.9551 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-06/0.3633, allocations: 0 / 0.9551 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3634, allocations: 7.922 kB / 0.9551 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.3634, allocations: 23.62 kB / 0.9552 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.3635, allocations: 7.938 kB / 0.9552 GB, free: 3.438 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.0001317/0.3636, allocations: 203.1 kB / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.3637, allocations: 108.9 kB / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.3637, allocations: 121.3 kB / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.439e-05/0.3638, allocations: 184.2 kB / 0.9558 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.348e-05/0.3639, allocations: 184.2 kB / 0.9559 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.206e-05/0.364, allocations: 176.3 kB / 0.9561 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.3643, allocations: 437.1 kB / 0.9565 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.756e-05/0.3644, allocations: 116.9 kB / 0.9566 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.3644, allocations: 101 kB / 0.9567 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-05/0.3645, allocations: 184.2 kB / 0.9569 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.341e-05/0.3646, allocations: 180.3 kB / 0.9571 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-05/0.3647, allocations: 180.3 kB / 0.9573 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.354e-05/0.3647, allocations: 180.4 kB / 0.9574 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.3649, allocations: 331.5 kB / 0.9577 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.365, allocations: 189.9 kB / 0.9579 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.814e-05/0.3651, allocations: 180.2 kB / 0.9581 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.3652, allocations: 104.9 kB / 0.9582 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3653, allocations: 180.3 kB / 0.9584 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.3654, allocations: 108.9 kB / 0.9585 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001563/0.3656, allocations: 168.5 kB / 0.9586 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3656, allocations: 0 / 0.9586 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002742/0.3658, allocations: 16 kB / 0.9586 GB, free: 15.66 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.0001857/0.366, allocations: 178.5 kB / 0.9588 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.3662, allocations: 83.95 kB / 0.9589 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3662, allocations: 0 / 0.9589 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/0.3662, allocations: 0 / 0.9589 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.3666, allocations: 455.7 kB / 0.9593 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.3672, allocations: 348 kB / 0.9597 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3675, allocations: 0.7117 MB / 0.9604 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.3676, allocations: 15.44 kB / 0.9604 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of SimCode: time 8.62e-07/0.3676, allocations: 0 / 0.9604 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.003542/0.3711, allocations: 1.122 MB / 0.9615 GB, free: 12.69 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 -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