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.0008106/0.0008106, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.0082/0.0082, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.563/1.563, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 15.53 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4009, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0009924/0.4019, allocations: 404.5 kB / 1.075 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.4029, allocations: 0.7945 MB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.4029, allocations: 0 / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.403, allocations: 11.92 kB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.403, allocations: 0 / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.4032, allocations: 12 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.304e-05/0.4033, allocations: 19.92 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4034, allocations: 12 kB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.4034, allocations: 7.938 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.4035, allocations: 7.984 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.4035, allocations: 0 / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-06/0.4035, allocations: 0 / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.4036, allocations: 11.92 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.4036, allocations: 33.69 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.912e-05/0.4037, allocations: 19.91 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4037, allocations: 4 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4037, allocations: 0 / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.4037, allocations: 0 / 1.075 GB, free: 6.203 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.0004799/0.4042, allocations: 327.9 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4043, allocations: 8.031 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.4043, allocations: 12.84 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4044, allocations: 164.3 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4045, allocations: 4.375 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.4045, allocations: 12.3 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4047, allocations: 54.23 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.4047, allocations: 4.125 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4047, allocations: 3.938 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4047, allocations: 0 / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.4049, allocations: 47.95 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.4052, allocations: 240.9 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.4054, allocations: 58.41 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.4055, allocations: 24.91 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.4055, allocations: 0 / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.4056, allocations: 38.56 kB / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4056, allocations: 0 / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003541/0.4059, allocations: 93.64 kB / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.406, allocations: 51.41 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.4061, allocations: 109.9 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.4061, allocations: 29.7 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.4061, allocations: 88.05 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.4061, allocations: 0 / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.4062, allocations: 9.719 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4063, allocations: 310.8 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.4064, allocations: 31.97 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.4065, allocations: 19.98 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.4066, allocations: 48.89 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4067, allocations: 0 / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002109/0.4069, allocations: 85.5 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4069, allocations: 5.406 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4069, allocations: 3.938 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4069, allocations: 4.031 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.407, allocations: 11.98 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.407, allocations: 4 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.4071, allocations: 4 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.4071, allocations: 0 / 1.077 GB, free: 4.105 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 7.896e-05/0.4072, allocations: 117.8 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.4072, allocations: 0 / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.4074, allocations: 84.78 kB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4075, allocations: 0 / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4075, allocations: 0 / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4075, allocations: 0 / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.4076, allocations: 161.6 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4077, allocations: 12.02 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.4077, allocations: 11.94 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4077, allocations: 0 / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4077, allocations: 0 / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4077, allocations: 3.938 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4078, allocations: 3.938 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.408, allocations: 175.5 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.4081, allocations: 89 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.4081, allocations: 0 / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.4082, allocations: 4 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.4082, allocations: 12.02 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.4083, allocations: 192 / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.4083, allocations: 83.27 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4083, allocations: 0 / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002171/0.4085, allocations: 8 kB / 1.078 GB, free: 3.254 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.0001751/0.4087, allocations: 95.25 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.409, allocations: 55.89 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.409, allocations: 0 / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.05e-05/0.4091, allocations: 19.98 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.4094, allocations: 15.88 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.4097, allocations: 109.1 kB / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.4099, allocations: 0.677 MB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.41, allocations: 4 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.41, allocations: 7.438 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.41, allocations: 0 / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of Templates: time 0.002426/0.4124, allocations: 358.3 kB / 1.079 GB, free: 1.863 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)