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.001715/0.001715, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001924/0.001924, allocations: 187 kB / 17.34 MB, free: 5.73 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.15 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.392/2.392, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303/1.305, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003152/1.308, allocations: 1.214 MB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002859/1.309, allocations: 60.66 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/1.309, allocations: 1.25 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/1.309, allocations: 0.5156 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/1.309, allocations: 6.547 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/1.309, allocations: 20.92 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.475e-05/1.309, allocations: 11.36 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.595e-05/1.309, allocations: 7.016 kB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/1.309, allocations: 8.078 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/1.31, allocations: 14.92 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/1.31, allocations: 1.219 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.8e-05/1.31, allocations: 5.312 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/1.31, allocations: 47.12 kB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/1.31, allocations: 40.34 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/1.31, allocations: 78.33 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.31, allocations: 1.125 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/1.31, allocations: 0 / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.31, allocations: 0 / 1.09 GB, free: 4.527 MB / 0.8575 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.0004792/1.311, allocations: 426.2 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.311, allocations: 9.625 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/1.311, allocations: 88.09 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/1.311, allocations: 259.8 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/1.311, allocations: 159.9 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/1.311, allocations: 150.6 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.298e-05/1.311, allocations: 106.5 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/1.311, allocations: 75.28 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/1.311, allocations: 152 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/1.311, allocations: 154.6 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/1.311, allocations: 151.3 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/1.311, allocations: 0.4904 MB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/1.312, allocations: 178.3 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/1.312, allocations: 88.89 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/1.312, allocations: 76.38 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.312, allocations: 106.5 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.312, allocations: 1.156 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.133e-05/1.312, allocations: 38.55 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/1.312, allocations: 130.6 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/1.312, allocations: 236.8 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/1.312, allocations: 29.7 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/1.312, allocations: 111 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/1.312, allocations: 0 / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.312, allocations: 41.67 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.312, allocations: 324 kB / 1.093 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/1.313, allocations: 62.69 kB / 1.094 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/1.313, allocations: 57.56 kB / 1.094 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/1.313, allocations: 134.7 kB / 1.094 GB, free: 17 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.313, allocations: 8.625 kB / 1.094 GB, free: 17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004353/1.313, allocations: 176.5 kB / 1.094 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.313, allocations: 8.219 kB / 1.094 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.313, allocations: 4.734 kB / 1.094 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.313, allocations: 0 / 1.094 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-07/1.314, allocations: 1.062 kB / 1.094 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.314, allocations: 0.5156 kB / 1.094 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/1.314, allocations: 14.97 kB / 1.094 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/1.314, allocations: 6.469 kB / 1.094 GB, free: 16.92 MB / 0.8731 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.0001582/1.314, allocations: 207.3 kB / 1.094 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.284e-05/1.314, allocations: 113.9 kB / 1.094 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/1.314, allocations: 116 kB / 1.094 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.022e-05/1.314, allocations: 181.6 kB / 1.095 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.284e-05/1.314, allocations: 178.5 kB / 1.095 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.868e-05/1.314, allocations: 181.5 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/1.315, allocations: 442 kB / 1.095 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-05/1.315, allocations: 106.5 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/1.315, allocations: 102.6 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/1.315, allocations: 178.7 kB / 1.096 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.776e-05/1.315, allocations: 181.8 kB / 1.096 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.849e-05/1.315, allocations: 185.8 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.48e-05/1.315, allocations: 181.5 kB / 1.096 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/1.315, allocations: 316.2 kB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.315, allocations: 195.2 kB / 1.097 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/1.315, allocations: 182.4 kB / 1.097 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/1.316, allocations: 106.7 kB / 1.097 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/1.316, allocations: 181.5 kB / 1.097 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/1.316, allocations: 103.7 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001752/1.316, allocations: 159 kB / 1.097 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.21e-07/1.316, allocations: 3.938 kB / 1.097 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003313/1.316, allocations: 21.55 kB / 1.097 GB, free: 13.32 MB / 0.8731 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.0002638/1.317, allocations: 183.4 kB / 1.098 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002112/1.317, allocations: 85.55 kB / 1.098 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.317, allocations: 0.6875 kB / 1.098 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.568e-06/1.317, allocations: 0.75 kB / 1.098 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/1.317, allocations: 461.9 kB / 1.098 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/1.318, allocations: 324.2 kB / 1.098 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/1.318, allocations: 0.7122 MB / 1.099 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/1.318, allocations: 15.31 kB / 1.099 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/1.318, allocations: 0 / 1.099 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.00458/1.323, allocations: 1.124 MB / 1.1 GB, free: 11.56 MB / 0.8731 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