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.001636/0.001636, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001976/0.001976, allocations: 198.6 kB / 16.26 MB, free: 6.621 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 70.59 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3961, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002135/0.3982, allocations: 0.734 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000924/0.3992, allocations: 0.7962 MB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.345e-05/0.3992, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.3993, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.3994, allocations: 7.938 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.3995, allocations: 8 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.3996, allocations: 19.98 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3997, allocations: 12 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.3998, allocations: 19.86 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.3998, allocations: 11.98 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3999, allocations: 3.938 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.3999, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.3999, allocations: 3.984 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.3999, allocations: 7.938 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.093e-05/0.4, allocations: 15.97 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4, allocations: 7.938 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4001, allocations: 4 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4001, allocations: 0 / 1.069 GB, free: 9.113 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.0005228/0.4006, allocations: 331.8 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4006, allocations: 8.031 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.4007, allocations: 4.938 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.4008, allocations: 168.3 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.4009, allocations: 384 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.4009, allocations: 4.375 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.4011, allocations: 50.23 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4011, allocations: 4.188 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.4011, allocations: 7.875 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4011, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.4013, allocations: 35.89 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.4017, allocations: 240.9 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4018, allocations: 50.53 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.4019, allocations: 20.91 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.402, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.402, allocations: 30.56 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.402, allocations: 3.938 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003697/0.4024, allocations: 89.55 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.4024, allocations: 51.41 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.4025, allocations: 105.8 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4025, allocations: 25.7 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.4026, allocations: 84.12 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.4026, allocations: 3.906 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.4026, allocations: 21.84 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4028, allocations: 314.8 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.4029, allocations: 11.98 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.4029, allocations: 19.98 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.4031, allocations: 36.77 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4031, allocations: 8.062 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001809/0.4033, allocations: 65.59 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4033, allocations: 4 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4033, allocations: 4 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4034, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.4034, allocations: 7.984 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4035, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.4035, allocations: 7.984 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.4035, allocations: 4.031 kB / 1.071 GB, free: 7.098 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 8.796e-05/0.4036, allocations: 118.4 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.4036, allocations: 0 / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.4039, allocations: 76.66 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4039, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4039, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4039, allocations: 4.031 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.4041, allocations: 165.6 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4041, allocations: 3.938 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.4042, allocations: 15.98 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4042, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.4042, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4042, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4042, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.4044, allocations: 171.3 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.4045, allocations: 77.11 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4045, allocations: 4 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.4046, allocations: 7.984 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.4046, allocations: 4 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.4046, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.414e-05/0.4047, allocations: 79.28 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4047, allocations: 4.031 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002134/0.4049, allocations: 4 kB / 1.072 GB, free: 6.277 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.0001614/0.4051, allocations: 99.23 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.4053, allocations: 43.97 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4053, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.4054, allocations: 15.98 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.4057, allocations: 19.92 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.406, allocations: 105.5 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.4063, allocations: 0.6768 MB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.4064, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.4064, allocations: 11.44 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4064, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of Templates: time 0.002422/0.4088, allocations: 379.8 kB / 1.073 GB, free: 4.879 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)