Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009503/0.0009501, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001132/0.001132, allocations: 172.7 kB / 15.95 MB, free: 208 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.509/1.509, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.952/2.952, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 8.75 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3153, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001265/0.3167, allocations: 0.9354 MB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002289/0.3169, allocations: 47.89 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.3169, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.317, allocations: 3.984 kB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.3171, allocations: 3.984 kB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.3173, allocations: 15.98 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.3173, allocations: 23.92 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.3174, allocations: 4 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.3174, allocations: 11.92 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.3175, allocations: 23.92 kB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.3175, allocations: 0 / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.3176, allocations: 4 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.3177, allocations: 51.88 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.3177, allocations: 41.64 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.478e-05/0.3178, allocations: 48.11 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3178, allocations: 0 / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3178, allocations: 4 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3178, allocations: 0 / 1.059 GB, free: 4.07 MB / 0.8106 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.0003835/0.3182, allocations: 414.6 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3183, allocations: 8.031 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.3183, allocations: 91.09 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.3185, allocations: 262.2 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.3186, allocations: 150.6 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.3186, allocations: 158.5 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.191e-05/0.3187, allocations: 104.9 kB / 1.06 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.3187, allocations: 79.28 kB / 1.06 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.3188, allocations: 154.6 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.3188, allocations: 150.6 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/0.3189, allocations: 158.6 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.3192, allocations: 489.7 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.111e-05/0.3193, allocations: 181.1 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.3193, allocations: 80.14 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3193, allocations: 79.23 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3194, allocations: 109.8 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3194, allocations: 0 / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.591e-05/0.3195, allocations: 37.52 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3195, allocations: 126.7 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3198, allocations: 235 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.3198, allocations: 25.7 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.3199, allocations: 112.2 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.3199, allocations: 0 / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.3199, allocations: 0 / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.32, allocations: 330.8 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.3201, allocations: 56.14 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.3201, allocations: 53.47 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.3202, allocations: 66.95 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3202, allocations: 0 / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002891/0.3205, allocations: 168 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3206, allocations: 7.953 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3206, allocations: 4.062 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.3206, allocations: 3.938 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3206, allocations: 0 / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3206, allocations: 0 / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.3206, allocations: 19.69 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3207, allocations: 11.92 kB / 1.063 GB, free: 0 / 0.8106 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.0001187/0.3208, allocations: 205 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.3209, allocations: 112.8 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.3209, allocations: 121.5 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.281e-05/0.321, allocations: 184.2 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.214e-05/0.321, allocations: 180.3 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.366e-05/0.3211, allocations: 180.2 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.3213, allocations: 437.2 kB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/0.3214, allocations: 105 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.3214, allocations: 108.9 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.626e-05/0.3215, allocations: 180.3 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.3215, allocations: 184.2 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-05/0.3216, allocations: 188.3 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.888e-05/0.3217, allocations: 176.3 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.3218, allocations: 315.9 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.3219, allocations: 197.8 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/0.3219, allocations: 180.3 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.322, allocations: 101 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.3221, allocations: 196.2 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.3221, allocations: 105 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001177/0.3223, allocations: 160.6 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3223, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002613/0.3225, allocations: 20 kB / 1.066 GB, free: 12.22 MB / 0.8262 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.0001549/0.3227, allocations: 178.5 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3228, allocations: 79.84 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3229, allocations: 8.062 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3229, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3232, allocations: 0.5209 MB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.3236, allocations: 313.3 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.3239, allocations: 0.716 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.3239, allocations: 7.984 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.3239, allocations: 11.44 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3239, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of Templates: time 0.00287/0.3268, allocations: 0.6791 MB / 1.069 GB, free: 9.648 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches