Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001108, allocations: 97.95 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.009636/0.009637, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.575/1.575, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.055/3.055, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003984, allocations: 11.94 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4144, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.0009593/0.4154, allocations: 434.6 kB / 1.075 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009987/0.4164, allocations: 0.804 MB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.4165, allocations: 0 / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.4165, allocations: 3.984 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.4166, allocations: 7.938 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.578e-05/0.4166, allocations: 11.98 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.558e-05/0.4167, allocations: 43.86 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.4168, allocations: 8 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.4169, allocations: 15.98 kB / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.417, allocations: 27.78 kB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.417, allocations: 0 / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-06/0.417, allocations: 4 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.4171, allocations: 3.984 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.4171, allocations: 37.64 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.882e-05/0.4172, allocations: 47.8 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4172, allocations: 4 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4172, allocations: 0 / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.4172, allocations: 0 / 1.076 GB, free: 6.051 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.0005207/0.4178, allocations: 359.7 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4178, allocations: 12.03 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.4178, allocations: 8.938 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.418, allocations: 176.2 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.418, allocations: 4.375 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.418, allocations: 384 / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.4183, allocations: 82.22 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4183, allocations: 192 / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.4183, allocations: 7.875 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.4183, allocations: 0 / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.4186, allocations: 91.86 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.419, allocations: 265 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.4193, allocations: 70.47 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.4194, allocations: 56.92 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.4195, allocations: 4 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4195, allocations: 34.5 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.4195, allocations: 0 / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005948/0.4201, allocations: 165.5 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.4202, allocations: 55.41 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.4203, allocations: 105.8 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4203, allocations: 33.7 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.4204, allocations: 80.14 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.4204, allocations: 11.81 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.4204, allocations: 17.7 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4205, allocations: 310.8 kB / 1.077 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.4207, allocations: 43.97 kB / 1.077 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.4209, allocations: 47.89 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.4212, allocations: 92.78 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4212, allocations: 3.938 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003536/0.4216, allocations: 117.6 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4216, allocations: 7.938 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4216, allocations: 336 / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4216, allocations: 0 / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4218, allocations: 19.98 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4218, allocations: 0 / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.4219, allocations: 23.98 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.4219, allocations: 0 / 1.078 GB, free: 3.562 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.002e-05/0.422, allocations: 122.4 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.422, allocations: 7.891 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.422, allocations: 11.91 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.422, allocations: 0 / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4221, allocations: 0 / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4221, allocations: 0 / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4222, allocations: 173.6 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4222, allocations: 3.984 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.4224, allocations: 19.98 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.4224, allocations: 0 / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.4224, allocations: 0 / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4224, allocations: 0 / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4224, allocations: 0 / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.4228, allocations: 223.4 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.4229, allocations: 92.94 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.4229, allocations: 0 / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.423, allocations: 15.98 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.423, allocations: 3.938 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4231, allocations: 7.984 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.4231, allocations: 83.28 kB / 1.078 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4231, allocations: 4 kB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002234/0.4233, allocations: 8 kB / 1.079 GB, free: 2.699 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.0001635/0.4235, allocations: 95.25 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.4239, allocations: 91.92 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4239, allocations: 0 / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.4241, allocations: 51.95 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.4244, allocations: 9.344 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.4247, allocations: 144.4 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.425, allocations: 0.6848 MB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.425, allocations: 3.984 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.4251, allocations: 7.438 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.4251, allocations: 0 / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of Templates: time 0.002629/0.4277, allocations: 0.5401 MB / 1.08 GB, free: 1.027 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1)