Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001275/0.001275, 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.002062/0.002062, allocations: 190.8 kB / 16.25 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.477/1.477, 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.029/3.029, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 61.67 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.36, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002018/0.3621, allocations: 0.7711 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.3631, allocations: 0.7962 MB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.3632, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.126e-05/0.3632, allocations: 7.984 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.3633, allocations: 11.92 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.391e-05/0.3634, allocations: 8 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.3635, allocations: 43.84 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3636, allocations: 16 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.3637, allocations: 11.98 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.3637, allocations: 23.86 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3638, allocations: 7.938 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.3638, allocations: 8 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.3638, allocations: 7.984 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.3639, allocations: 19.86 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.081e-05/0.364, allocations: 47.8 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.364, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.273e-06/0.364, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.364, allocations: 0 / 1.069 GB, free: 9.055 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.0005093/0.3645, allocations: 361.4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3645, allocations: 16.03 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.3646, allocations: 4.844 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3647, allocations: 172.3 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3647, allocations: 384 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3647, allocations: 4.375 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.365, allocations: 66.22 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.365, allocations: 192 / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.365, allocations: 3.938 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.365, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.3653, allocations: 67.86 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.3657, allocations: 268.9 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3659, allocations: 58.48 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.366, allocations: 40.91 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3661, allocations: 4 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3661, allocations: 34.5 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3661, allocations: 0 / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005272/0.3666, allocations: 129.6 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3667, allocations: 51.41 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.3668, allocations: 113.8 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3668, allocations: 25.7 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.3669, allocations: 88.05 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.3669, allocations: 7.906 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.3669, allocations: 13.72 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.367, allocations: 318.8 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3672, allocations: 31.97 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3673, allocations: 31.95 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.3676, allocations: 73.02 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3676, allocations: 11.86 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003323/0.368, allocations: 97.61 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.368, allocations: 4 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.368, allocations: 8 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.368, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3681, allocations: 15.98 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3682, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.3682, allocations: 11.98 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.3682, allocations: 0 / 1.071 GB, free: 6.734 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 9.005e-05/0.3683, allocations: 118.4 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3684, allocations: 19.78 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.3684, allocations: 3.906 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3684, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3684, allocations: 4 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3684, allocations: 0 / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3686, allocations: 173.6 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3686, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-05/0.3687, allocations: 15.97 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3687, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3687, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3687, allocations: 8 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3688, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.3691, allocations: 191.4 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.3692, allocations: 88.94 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.3692, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3693, allocations: 15.98 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.3693, allocations: 8 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3694, allocations: 3.938 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.3694, allocations: 91.56 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3694, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002231/0.3696, allocations: 8 kB / 1.072 GB, free: 5.898 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.0001602/0.3698, allocations: 95.25 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.3702, allocations: 71.92 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3702, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3703, allocations: 35.95 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.3707, allocations: 19.81 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.371, allocations: 145.3 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3713, allocations: 0.6846 MB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.3713, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.3714, allocations: 7.438 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3714, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of Templates: time 0.002674/0.3741, allocations: 0.5668 MB / 1.074 GB, free: 4.227 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1)