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.001271/0.001271, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.72 kB / 0.912 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3469, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00301/0.35, allocations: 0.6897 MB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3512, allocations: 0.81 MB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.3513, allocations: 4 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.3513, allocations: 3.938 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.302e-05/0.3514, allocations: 7.922 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.46e-05/0.3515, allocations: 11.98 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.3516, allocations: 43.86 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.3518, allocations: 11.98 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.3519, allocations: 15.98 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.3519, allocations: 31.84 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.352, allocations: 4 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.352, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.352, allocations: 8 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.3521, allocations: 19.86 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.3522, allocations: 39.81 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3522, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3522, allocations: 7.938 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3522, allocations: 0 / 1.07 GB, free: 8.691 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.000748/0.353, allocations: 363.7 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.353, allocations: 12.02 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.3531, allocations: 4.844 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3533, allocations: 176.3 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3533, allocations: 384 / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3533, allocations: 4.375 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.3536, allocations: 70.22 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3536, allocations: 192 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3536, allocations: 3.938 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3536, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.3539, allocations: 67.86 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.3543, allocations: 272.9 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.3545, allocations: 54.47 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3547, allocations: 44.92 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3547, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3547, allocations: 34.56 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3547, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005279/0.3552, allocations: 129.5 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.3553, allocations: 51.41 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.3554, allocations: 117.8 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3554, allocations: 25.7 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.3555, allocations: 84.05 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3555, allocations: 15.89 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.3555, allocations: 9.719 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3556, allocations: 318.8 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3558, allocations: 31.95 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3559, allocations: 31.97 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.3562, allocations: 72.72 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3562, allocations: 3.938 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003292/0.3566, allocations: 101.6 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.3566, allocations: 4 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3566, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3566, allocations: 4 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3568, allocations: 15.98 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3568, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.3569, allocations: 15.97 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.3569, allocations: 0 / 1.072 GB, free: 6.367 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.475e-05/0.357, allocations: 125.7 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.357, allocations: 3.906 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.3571, allocations: 4.234 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3571, allocations: 4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3571, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3571, allocations: 3.984 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.3573, allocations: 173.6 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3573, allocations: 3.938 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.534e-05/0.3574, allocations: 15.98 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3574, allocations: 4 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3574, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3574, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3574, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.3578, allocations: 199.4 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.3579, allocations: 84.95 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3579, allocations: 4 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.358, allocations: 7.984 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.3581, allocations: 11.98 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3581, allocations: 0 / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.292e-05/0.3582, allocations: 87.28 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3582, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002183/0.3584, allocations: 4 kB / 1.073 GB, free: 5.543 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.000155/0.3585, allocations: 111.7 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.359, allocations: 63.92 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.359, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.3591, allocations: 35.97 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3594, allocations: 12.48 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.3599, allocations: 141.2 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3602, allocations: 0.6807 MB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.3603, allocations: 4 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.3603, allocations: 11.44 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3603, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.003128/0.3635, allocations: 0.6732 MB / 1.074 GB, free: 3.762 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)