Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001304/0.001303, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.553/1.553, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.068/3.068, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.25 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3866, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002178/0.3888, allocations: 0.7657 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3899, allocations: 0.804 MB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.3899, allocations: 3.938 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.39, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.3901, allocations: 19.86 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.996e-05/0.3902, allocations: 8 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.381e-05/0.3903, allocations: 43.91 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3904, allocations: 8 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.3905, allocations: 15.92 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.3905, allocations: 23.91 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3905, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.3906, allocations: 4 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.3906, allocations: 11.98 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.3906, allocations: 15.88 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.709e-05/0.3907, allocations: 39.81 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3907, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3907, allocations: 3.984 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3907, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005858/0.3913, allocations: 357.2 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3914, allocations: 8.031 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3914, allocations: 20.84 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3916, allocations: 168.3 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3916, allocations: 4.375 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3916, allocations: 384 / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3919, allocations: 70.2 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3919, allocations: 192 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3919, allocations: 3.938 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3919, allocations: 4 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.3922, allocations: 71.86 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.3926, allocations: 268.9 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.3928, allocations: 58.48 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.393, allocations: 36.91 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.393, allocations: 4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.393, allocations: 34.56 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.393, allocations: 0 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005409/0.3936, allocations: 133.7 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.3936, allocations: 51.41 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.3937, allocations: 105.8 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3937, allocations: 33.64 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.3938, allocations: 88.05 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.3938, allocations: 3.906 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3939, allocations: 21.72 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.394, allocations: 314.8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3941, allocations: 31.97 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3943, allocations: 35.94 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.3945, allocations: 72.73 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3946, allocations: 3.938 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.3949, allocations: 97.61 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3949, allocations: 4 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3949, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3949, allocations: 4 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3951, allocations: 15.98 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3951, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.3952, allocations: 15.98 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.3952, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 8.632e-05/0.3953, allocations: 118.4 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.3953, allocations: 3.906 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.3957, allocations: 113.5 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3957, allocations: 0 / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3957, allocations: 0 / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3957, allocations: 0 / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.3959, allocations: 169.6 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3959, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.773e-05/0.396, allocations: 23.91 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.396, allocations: 4 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.396, allocations: 4 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.396, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.396, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.3964, allocations: 199.4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.3964, allocations: 88.95 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3964, allocations: 3.984 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3966, allocations: 11.98 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3966, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.3966, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.509e-05/0.3967, allocations: 91.2 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3967, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002183/0.3969, allocations: 8 kB / 1.072 GB, free: 5.883 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 (3): * Single equations (assignments): 3 * 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.0001457/0.397, allocations: 99.25 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.3974, allocations: 67.92 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3974, allocations: 4 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.3976, allocations: 39.89 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3979, allocations: 13.92 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.3982, allocations: 135.2 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.3985, allocations: 0.677 MB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.3985, allocations: 4 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.3985, allocations: 11.44 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3985, allocations: 0 / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of Templates: time 0.002618/0.4012, allocations: 0.5493 MB / 1.074 GB, free: 4.238 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1)