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.00177/0.00177, allocations: 119.2 kB / 16.37 MB, free: 6.016 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.002083/0.002083, allocations: 193 kB / 17.31 MB, free: 5.613 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.588/2.588, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 60.69 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3981, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002648/0.4008, allocations: 1.209 MB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002643/0.4011, allocations: 63.81 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.4011, allocations: 4 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.4012, allocations: 0 / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.4013, allocations: 0 / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.4015, allocations: 19.91 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.4016, allocations: 11.94 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.886e-05/0.4016, allocations: 11.98 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.4017, allocations: 7.938 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.4018, allocations: 12.73 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.4018, allocations: 0 / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.4019, allocations: 7.984 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.665e-05/0.4019, allocations: 44.45 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.402, allocations: 39.69 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.4022, allocations: 79.58 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4022, allocations: 3.938 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.504e-06/0.4022, allocations: 4 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4022, allocations: 0 / 1.02 GB, free: 8.32 MB / 0.795 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.0004846/0.4027, allocations: 426.7 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4027, allocations: 8.625 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/0.4028, allocations: 84.12 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.403, allocations: 271.3 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/0.4031, allocations: 158.7 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/0.4031, allocations: 162.5 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.705e-05/0.4032, allocations: 101 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.4032, allocations: 75.28 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.4033, allocations: 154.6 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.4034, allocations: 150.6 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.4034, allocations: 154.6 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.4038, allocations: 493.7 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.386e-05/0.4039, allocations: 181 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.4039, allocations: 80.14 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4039, allocations: 75.28 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.404, allocations: 113.8 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.495e-06/0.404, allocations: 3.984 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.809e-05/0.4041, allocations: 37.52 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.4042, allocations: 130.6 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.4044, allocations: 231 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.4044, allocations: 25.7 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.4045, allocations: 112.1 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.4045, allocations: 0 / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.4046, allocations: 37.7 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4047, allocations: 322.8 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.4048, allocations: 59.89 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.4049, allocations: 61.45 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.4051, allocations: 130.7 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4051, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003195/0.4054, allocations: 181.3 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4054, allocations: 12 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4054, allocations: 0 / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4055, allocations: 0 / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-06/0.4055, allocations: 3.984 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4055, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.4055, allocations: 23.69 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.4056, allocations: 4 kB / 1.024 GB, free: 4.105 MB / 0.795 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.0001296/0.4057, allocations: 205.7 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.4058, allocations: 116.8 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.4058, allocations: 119 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.163e-05/0.4059, allocations: 184.3 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.421e-05/0.406, allocations: 180.2 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.747e-05/0.406, allocations: 180.2 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.4063, allocations: 437.1 kB / 1.026 GB, free: 2.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.811e-05/0.4064, allocations: 117 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.4064, allocations: 101 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-05/0.4065, allocations: 180.3 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/0.4066, allocations: 180.2 kB / 1.026 GB, free: 2.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.187e-05/0.4066, allocations: 180.3 kB / 1.026 GB, free: 1.832 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.085e-05/0.4067, allocations: 184.2 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.4069, allocations: 315.8 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.407, allocations: 193.9 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.4071, allocations: 184.3 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.4072, allocations: 108.9 kB / 1.027 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.4073, allocations: 184.3 kB / 1.027 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.4074, allocations: 104.9 kB / 1.027 GB, free: 0.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001404/0.4075, allocations: 160.6 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4075, allocations: 0 / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002817/0.4078, allocations: 20 kB / 1.028 GB, free: 332 kB / 0.795 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.0001919/0.408, allocations: 174.5 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.4082, allocations: 87.89 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4082, allocations: 0 / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.4082, allocations: 0 / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.4086, allocations: 459.7 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.4091, allocations: 298.3 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.4094, allocations: 0.7157 MB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.4094, allocations: 7.984 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.4095, allocations: 11.44 kB / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.4095, allocations: 0 / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of Templates: time 0.003344/0.4128, allocations: 0.7324 MB / 1.03 GB, free: 13.8 MB / 0.8106 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 -s gbode -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/jenkins1/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