Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001709/0.001709, allocations: 192.5 kB / 16.13 MB, free: 6.703 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.67 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4004, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.003043/0.4035, allocations: 0.7322 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.405, allocations: 0.7962 MB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.4051, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.229e-05/0.4052, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.4053, allocations: 15.91 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.4055, allocations: 12 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.045e-05/0.4056, allocations: 23.92 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4057, allocations: 8 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.4058, allocations: 7.938 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.4059, allocations: 7.984 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.406, allocations: 3.938 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.76e-05/0.406, allocations: 4 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.406, allocations: 7.938 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.4061, allocations: 11.92 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.4062, allocations: 19.95 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4062, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4063, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.4063, allocations: 0 / 1.069 GB, free: 9.262 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006969/0.407, allocations: 331.8 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.407, allocations: 8.031 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.4071, allocations: 4.938 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.4073, allocations: 168.3 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4073, allocations: 4.375 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.4074, allocations: 8.375 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.4077, allocations: 46.17 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4077, allocations: 192 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.4077, allocations: 11.94 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.4078, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.4081, allocations: 35.89 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.4086, allocations: 245 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.4089, allocations: 50.42 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.409, allocations: 16.91 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.4091, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.4091, allocations: 34.56 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.4091, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0006237/0.4098, allocations: 85.55 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.4098, allocations: 51.41 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.41, allocations: 101.9 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.41, allocations: 25.7 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.4101, allocations: 88.25 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.4101, allocations: 7.844 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.4102, allocations: 17.72 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4104, allocations: 310.8 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4106, allocations: 15.98 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.4108, allocations: 19.97 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.4111, allocations: 36.89 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4111, allocations: 0 / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000367/0.4115, allocations: 69.59 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4115, allocations: 4 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.4115, allocations: 4 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.4116, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.4117, allocations: 11.95 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4117, allocations: 7.938 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.972e-05/0.4118, allocations: 8 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.4119, allocations: 0 / 1.071 GB, free: 7.242 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 (2): * Single equations (assignments): 2 * 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 0.0001195/0.412, allocations: 117.8 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.4121, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.4125, allocations: 76.78 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.4125, allocations: 4 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4125, allocations: 0 / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4125, allocations: 0 / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.4128, allocations: 157.6 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4128, allocations: 0 / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.4129, allocations: 11.98 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.413, allocations: 3.938 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.413, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.413, allocations: 3.938 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.413, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.4135, allocations: 171.6 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.4136, allocations: 77.11 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.4136, allocations: 7.969 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.4138, allocations: 4 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.4138, allocations: 7.984 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.4139, allocations: 4.031 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.4139, allocations: 79.28 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4139, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004092/0.4144, allocations: 4 kB / 1.072 GB, free: 6.426 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 (2): * Single equations (assignments): 2 * 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.0001981/0.4146, allocations: 101.2 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.415, allocations: 39.89 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.415, allocations: 4.062 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.4152, allocations: 15.98 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.4157, allocations: 15.88 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.4161, allocations: 99.56 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.4165, allocations: 0.677 MB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.944e-05/0.4166, allocations: 4.062 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.4167, allocations: 11.38 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/0.4167, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of Templates: time 0.004491/0.4212, allocations: 362.1 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1)