Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008069/0.008069, allocations: 170 kB / 16.27 MB, free: 6.66 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.529/1.529, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.009/3.009, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004781, allocations: 14.12 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4664, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001104/0.4675, allocations: 400.5 kB / 1.075 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.4687, allocations: 0.81 MB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.4688, allocations: 0 / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.4689, allocations: 0 / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.4689, allocations: 7.938 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.4691, allocations: 8 kB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.4692, allocations: 19.92 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4693, allocations: 19.94 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.094e-05/0.4694, allocations: 15.91 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.4694, allocations: 4 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.4695, allocations: 0 / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.4695, allocations: 3.938 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.4695, allocations: 4 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.4696, allocations: 37.62 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.244e-05/0.4696, allocations: 15.97 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4697, allocations: 0 / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4697, allocations: 0 / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4697, allocations: 4 kB / 1.075 GB, free: 6.18 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.0004874/0.4702, allocations: 331.8 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4702, allocations: 12.03 kB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.4703, allocations: 4.844 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.4704, allocations: 168.4 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.4704, allocations: 384 / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.4704, allocations: 8.312 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.4706, allocations: 58.23 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4706, allocations: 192 / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4707, allocations: 7.922 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4707, allocations: 3.938 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.4709, allocations: 43.97 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.4712, allocations: 240.9 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.4714, allocations: 54.47 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.4715, allocations: 24.91 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.4715, allocations: 3.984 kB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.4716, allocations: 38.56 kB / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.4716, allocations: 0 / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003898/0.472, allocations: 93.64 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.472, allocations: 51.41 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.4721, allocations: 105.8 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4721, allocations: 29.83 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.4722, allocations: 88.05 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.4722, allocations: 4 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.4722, allocations: 9.719 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4724, allocations: 314.8 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.4725, allocations: 23.97 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.4726, allocations: 23.98 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.4727, allocations: 44.83 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4728, allocations: 0 / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002246/0.473, allocations: 85.56 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.473, allocations: 4 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.473, allocations: 3.938 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.473, allocations: 3.938 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4732, allocations: 24.02 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4732, allocations: 0 / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.4732, allocations: 7.984 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.4732, allocations: 0 / 1.077 GB, free: 4.074 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.0001/0.4733, allocations: 113.8 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.4734, allocations: 0 / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.4736, allocations: 84.78 kB / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4737, allocations: 0 / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4737, allocations: 0 / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4737, allocations: 0 / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.4739, allocations: 165.6 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4739, allocations: 4 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.474, allocations: 19.91 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.474, allocations: 0 / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.474, allocations: 0 / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.474, allocations: 3.984 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.474, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.4743, allocations: 175.5 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.4743, allocations: 85.02 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4744, allocations: 0 / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.4744, allocations: 4 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.4745, allocations: 7.984 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4745, allocations: 0 / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.4746, allocations: 87.48 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4746, allocations: 0 / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002184/0.4748, allocations: 11.94 kB / 1.078 GB, free: 3.227 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.0001876/0.475, allocations: 95.25 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.4752, allocations: 55.89 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4753, allocations: 0 / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/0.4753, allocations: 19.98 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4757, allocations: 11.94 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.476, allocations: 115 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.4763, allocations: 0.677 MB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.4763, allocations: 0 / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.4764, allocations: 11.44 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4764, allocations: 0 / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of Templates: time 0.002794/0.4792, allocations: 366.1 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1)