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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001162/0.001162, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.0093/0.0093, allocations: 170.5 kB / 16.27 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.863/2.863, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.000509, allocations: 11.98 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.046, allocations: 153.8 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001404/1.047, allocations: 0.9408 MB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000286/1.047, allocations: 63.75 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/1.047, allocations: 4 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/1.047, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/1.048, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/1.048, allocations: 15.98 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/1.048, allocations: 39.89 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/1.048, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/1.048, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/1.048, allocations: 13.48 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/1.048, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.699e-05/1.048, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/1.048, allocations: 60.36 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/1.048, allocations: 61.45 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/1.048, allocations: 69.77 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.048, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/1.048, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.47e-06/1.048, allocations: 0 / 1.024 GB, free: 14.7 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.0004383/1.049, allocations: 422.8 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.049, allocations: 11.97 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/1.049, allocations: 88.12 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/1.049, allocations: 266.7 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/1.049, allocations: 150.6 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/1.049, allocations: 154.6 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.393e-05/1.049, allocations: 101 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/1.049, allocations: 75.28 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/1.049, allocations: 162.5 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/1.05, allocations: 154.5 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.336e-05/1.05, allocations: 154.5 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/1.05, allocations: 0.4899 MB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/1.05, allocations: 169.1 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/1.05, allocations: 84.08 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/1.05, allocations: 75.28 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/1.05, allocations: 109.8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 3.076e-06/1.05, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.338e-05/1.05, allocations: 41.45 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/1.05, allocations: 134.7 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/1.051, allocations: 227 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/1.051, allocations: 25.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/1.051, allocations: 116 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/1.051, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/1.051, allocations: 25.7 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.051, allocations: 330.8 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/1.051, allocations: 51.97 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/1.051, allocations: 59.95 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/1.051, allocations: 140.1 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.051, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003338/1.052, allocations: 181.3 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.052, allocations: 4 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.052, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.052, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/1.052, allocations: 4 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.052, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/1.052, allocations: 15.73 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/1.052, allocations: 11.94 kB / 1.028 GB, free: 10.51 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.0001462/1.052, allocations: 205.7 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/1.052, allocations: 116.9 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/1.052, allocations: 117.5 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.855e-05/1.052, allocations: 176.3 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-05/1.052, allocations: 180.2 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.471e-05/1.052, allocations: 184.3 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/1.053, allocations: 441.1 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.128e-05/1.053, allocations: 101 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/1.053, allocations: 108.9 kB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.565e-05/1.053, allocations: 188.2 kB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.426e-05/1.053, allocations: 184.3 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.273e-05/1.053, allocations: 180.2 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.645e-05/1.053, allocations: 184.2 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/1.053, allocations: 315.5 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.053, allocations: 189.9 kB / 1.031 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.054, allocations: 192.2 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/1.054, allocations: 105.3 kB / 1.031 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/1.054, allocations: 180.2 kB / 1.031 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/1.054, allocations: 105 kB / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000152/1.054, allocations: 164.6 kB / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/1.054, allocations: 4 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002746/1.054, allocations: 19.94 kB / 1.032 GB, free: 6.719 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.0002473/1.054, allocations: 178.5 kB / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001804/1.055, allocations: 75.97 kB / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.055, allocations: 4 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/1.055, allocations: 3.938 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/1.055, allocations: 0.5225 MB / 1.032 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/1.056, allocations: 317.4 kB / 1.033 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/1.056, allocations: 0.7082 MB / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.017e-05/1.056, allocations: 11.97 kB / 1.033 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/1.056, allocations: 15.44 kB / 1.033 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of SimCode: time 2.615e-06/1.056, allocations: 0 / 1.033 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of Templates: time 0.003845/1.06, allocations: 0.6992 MB / 1.034 GB, free: 4.125 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/jenkins/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