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.001145/0.001145, allocations: 111.6 kB / 16.37 MB, free: 6.473 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.001119/0.001119, allocations: 194.2 kB / 17.31 MB, free: 5.824 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.691/2.691, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 64.44 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.385, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002531/0.3876, allocations: 1.212 MB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002528/0.3879, allocations: 70.14 kB / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.3879, allocations: 0 / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.388, allocations: 0 / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3881, allocations: 7.984 kB / 1.028 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.3883, allocations: 7.938 kB / 1.028 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.199e-05/0.3884, allocations: 19.97 kB / 1.028 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.3884, allocations: 3.938 kB / 1.028 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.3885, allocations: 7.938 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.3885, allocations: 8.734 kB / 1.028 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3885, allocations: 4 kB / 1.028 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.728e-05/0.3886, allocations: 8 kB / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.3887, allocations: 52.42 kB / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.3888, allocations: 39.69 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3889, allocations: 75.59 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3889, allocations: 0 / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.998e-06/0.3889, allocations: 4 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.389, allocations: 0 / 1.028 GB, free: 0.5156 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.0004706/0.3894, allocations: 422.8 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3895, allocations: 8.031 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3896, allocations: 84.12 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.3898, allocations: 271.3 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.3899, allocations: 154.7 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.3899, allocations: 154.6 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.724e-05/0.39, allocations: 108.9 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.39, allocations: 75.28 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.3901, allocations: 150.6 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.91e-05/0.3902, allocations: 150.6 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.3902, allocations: 150.6 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.3906, allocations: 0.49 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.83e-05/0.3906, allocations: 177 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.3907, allocations: 80.14 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.3907, allocations: 79.28 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.3908, allocations: 109.8 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.3908, allocations: 4 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.241e-05/0.3909, allocations: 37.52 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.391, allocations: 130.6 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3912, allocations: 227.7 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3913, allocations: 25.7 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.3913, allocations: 112.1 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.3913, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.3914, allocations: 41.62 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3915, allocations: 334.8 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.3916, allocations: 59.84 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.3917, allocations: 55.95 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3919, allocations: 139.8 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3919, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003216/0.3922, allocations: 181.3 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3922, allocations: 4 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3922, allocations: 3.938 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3923, allocations: 4 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3923, allocations: 4.062 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3923, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.3923, allocations: 19.69 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.3924, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.3925, allocations: 213 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.3926, allocations: 112.8 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.3927, allocations: 117.5 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.461e-05/0.3927, allocations: 180.3 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.03e-05/0.3928, allocations: 176.3 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.375e-05/0.3929, allocations: 188.2 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.3931, allocations: 437.1 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-05/0.3932, allocations: 113 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.3932, allocations: 101 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.198e-05/0.3933, allocations: 180.3 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.3933, allocations: 180.2 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.15e-05/0.3934, allocations: 184.2 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.468e-05/0.3935, allocations: 184.2 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.3936, allocations: 307.9 kB / 1.035 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.3937, allocations: 193.8 kB / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.3938, allocations: 192.3 kB / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.3939, allocations: 104.9 kB / 1.035 GB, free: 9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.394, allocations: 176.3 kB / 1.035 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.394, allocations: 101 kB / 1.035 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3941, allocations: 164.6 kB / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3941, allocations: 3.938 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002357/0.3944, allocations: 16 kB / 1.036 GB, free: 8.535 MB / 0.8106 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.0001838/0.3946, allocations: 178.5 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.3947, allocations: 83.83 kB / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3947, allocations: 4 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3948, allocations: 64 / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3952, allocations: 459.7 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.3956, allocations: 298.2 kB / 1.037 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3959, allocations: 0.7157 MB / 1.037 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.3959, allocations: 7.984 kB / 1.037 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.396, allocations: 11.44 kB / 1.037 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.396, allocations: 0 / 1.037 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.003068/0.399, allocations: 0.7383 MB / 1.038 GB, free: 5.992 MB / 0.8106 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 -s cvode -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/jenkins1/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