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.001493/0.001492, allocations: 106.4 kB / 16.37 MB, free: 6.434 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.001649/0.001649, allocations: 189.1 kB / 17.3 MB, free: 5.773 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.14 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.504/2.504, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.44 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4097, 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.002866/0.4126, allocations: 1.224 MB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.4129, allocations: 59.81 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.413, allocations: 0 / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.4131, allocations: 3.938 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.4132, allocations: 7.984 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.4134, allocations: 4 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.4135, allocations: 19.91 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.4136, allocations: 8 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.4136, allocations: 11.94 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.4137, allocations: 8.734 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.4137, allocations: 0 / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.248e-05/0.4138, allocations: 4 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/0.4139, allocations: 52.42 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.4139, allocations: 43.62 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.4141, allocations: 75.59 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4141, allocations: 4 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4141, allocations: 0 / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.4141, allocations: 0 / 1.02 GB, free: 8.316 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.0005253/0.4147, allocations: 426.7 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4147, allocations: 12.92 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.4148, allocations: 84.12 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.415, allocations: 271.3 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.4151, allocations: 154.7 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.4151, allocations: 154.6 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.678e-05/0.4152, allocations: 101 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.4152, allocations: 79.28 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.4153, allocations: 154.6 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.4154, allocations: 154.5 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.22e-05/0.4154, allocations: 154.6 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.4158, allocations: 0.49 MB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.4159, allocations: 169.1 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.4159, allocations: 80.14 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.4159, allocations: 79.28 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.416, allocations: 109.8 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.416, allocations: 0 / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.502e-05/0.4161, allocations: 37.52 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.4162, allocations: 130.7 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.4164, allocations: 227 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4164, allocations: 25.7 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.4165, allocations: 116.1 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.4165, allocations: 0 / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.4166, allocations: 41.67 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4167, allocations: 322.8 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/0.4168, allocations: 63.89 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.634e-05/0.4169, allocations: 57.47 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.4171, allocations: 138.6 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4171, allocations: 4 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003133/0.4174, allocations: 173.4 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4174, allocations: 8.062 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4175, allocations: 3.938 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4175, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.4175, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4175, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.4175, allocations: 19.69 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.4176, allocations: 4 kB / 1.024 GB, free: 4.109 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.0001364/0.4177, allocations: 205 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.4178, allocations: 120.7 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/0.4179, allocations: 127 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-05/0.4179, allocations: 180.2 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.937e-05/0.418, allocations: 176.3 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.068e-05/0.4181, allocations: 176.3 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.4184, allocations: 453.1 kB / 1.026 GB, free: 2.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-05/0.4184, allocations: 105 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.4185, allocations: 104.9 kB / 1.026 GB, free: 2.379 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.029e-05/0.4186, allocations: 184.3 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/0.4187, allocations: 180.2 kB / 1.026 GB, free: 2.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.389e-05/0.4187, allocations: 180.2 kB / 1.026 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.188e-05/0.4188, allocations: 180.3 kB / 1.026 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.419, allocations: 315.9 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.38e-05/0.4191, allocations: 193.9 kB / 1.027 GB, free: 1.094 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.4192, allocations: 184.2 kB / 1.027 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.4193, allocations: 105 kB / 1.027 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.4194, allocations: 184.2 kB / 1.027 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.4195, allocations: 109 kB / 1.027 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001169/0.4196, allocations: 156.6 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4196, allocations: 0 / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002537/0.4198, 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.0002031/0.42, allocations: 178.5 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.4202, allocations: 83.84 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4202, allocations: 0 / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.4202, 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.0004392/0.4207, allocations: 466 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.4212, allocations: 302.3 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.4215, allocations: 0.708 MB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.4215, allocations: 11.92 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.4216, allocations: 11.44 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.4216, allocations: 0 / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.003467/0.425, allocations: 0.7305 MB / 1.03 GB, free: 13.79 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 cvode -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