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.001129/0.001129, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001628/0.001628, allocations: 168.7 kB / 15.95 MB, free: 204 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.506/1.506, allocations: 223.3 MB / 240 MB, free: 5.41 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.778/2.778, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003708, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8517, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001416/0.8532, allocations: 0.9409 MB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.8534, allocations: 47.89 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.8535, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.8535, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.8537, allocations: 3.984 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.8539, allocations: 11.98 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.8539, allocations: 31.84 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.227e-05/0.854, allocations: 4 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.582e-05/0.8541, allocations: 7.984 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.8541, allocations: 23.92 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.8542, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.82e-05/0.8542, allocations: 8 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.8543, allocations: 51.88 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.8544, allocations: 41.64 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.228e-05/0.8545, allocations: 45.86 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8545, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8545, allocations: 4 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.8545, allocations: 0 / 1.024 GB, free: 14.85 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.000406/0.8549, allocations: 414.6 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.855, allocations: 8.562 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.855, allocations: 83.19 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.8552, allocations: 266.1 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.8553, allocations: 154.5 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.8553, allocations: 154.6 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.436e-05/0.8554, allocations: 108.9 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.8555, allocations: 75.28 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.144e-05/0.8555, allocations: 154.6 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.8556, allocations: 150.6 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.452e-05/0.8557, allocations: 154.6 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.856, allocations: 493.7 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.8561, allocations: 177.1 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.8561, allocations: 80.14 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.8562, allocations: 75.28 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.8562, allocations: 117.8 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.8562, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.165e-05/0.8563, allocations: 37.52 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.8564, allocations: 130.6 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.8567, allocations: 242.9 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.8567, allocations: 25.7 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.8568, allocations: 100.3 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.8568, allocations: 7.938 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.8568, allocations: 3.984 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8569, allocations: 326.8 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.857, allocations: 56.16 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.8571, allocations: 56.33 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.8572, allocations: 66.02 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8572, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003272/0.8575, allocations: 170.7 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.8576, allocations: 10.03 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.8576, allocations: 8.016 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8576, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-06/0.8576, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.8576, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.8577, allocations: 19.69 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.8577, allocations: 4 kB / 1.027 GB, free: 10.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.8579, allocations: 201.1 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/0.858, allocations: 120.8 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.858, allocations: 117.5 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.458e-05/0.8581, allocations: 188.2 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-05/0.8582, allocations: 176.3 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.003e-05/0.8583, allocations: 184.2 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.8585, allocations: 437.2 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.95e-05/0.8586, allocations: 105 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.8586, allocations: 104.9 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.852e-05/0.8587, allocations: 176.3 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/0.8588, allocations: 184.2 kB / 1.029 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.64e-05/0.8588, allocations: 184.2 kB / 1.029 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-05/0.8589, allocations: 184.2 kB / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.8591, allocations: 311.7 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.8592, allocations: 197.8 kB / 1.03 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.8593, allocations: 180.3 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.8594, allocations: 105 kB / 1.03 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.8594, allocations: 192.2 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.8595, allocations: 101 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001216/0.8596, allocations: 156.6 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.633e-06/0.8596, allocations: 0 / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002584/0.8599, allocations: 27.88 kB / 1.031 GB, free: 6.996 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 (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.0001649/0.8601, allocations: 178.5 kB / 1.031 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.8602, allocations: 88.17 kB / 1.031 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8602, allocations: 8 kB / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/0.8602, allocations: 0 / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.8606, allocations: 0.5224 MB / 1.032 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.8611, allocations: 305.4 kB / 1.032 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.8614, allocations: 0.7121 MB / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.8614, allocations: 15.98 kB / 1.033 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.8615, allocations: 7.438 kB / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8615, allocations: 0 / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of Templates: time 0.003187/0.8647, allocations: 0.6869 MB / 1.033 GB, free: 4.414 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