Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00167/0.001669, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00268/0.00268, allocations: 191.8 kB / 16.13 MB, free: 6.668 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.45 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3758, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00228/0.3781, allocations: 0.7359 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3792, allocations: 0.8079 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.3792, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.3793, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.3794, allocations: 3.938 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.3795, allocations: 12 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.3796, allocations: 15.98 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3797, allocations: 12 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.3798, allocations: 7.938 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.3798, allocations: 7.984 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3799, allocations: 8 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.3799, allocations: 3.938 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.3799, allocations: 3.938 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.3799, allocations: 15.97 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.189e-05/0.38, allocations: 19.91 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.38, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.38, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.38, allocations: 0 / 1.069 GB, free: 9.301 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.0004637/0.3805, allocations: 331.8 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3805, allocations: 12.03 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.3806, allocations: 4.938 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3807, allocations: 164.3 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3807, allocations: 384 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3807, allocations: 4.375 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3809, allocations: 50.23 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3809, allocations: 192 / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.381, allocations: 3.938 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.381, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.3812, allocations: 47.81 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.3815, allocations: 248.9 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3817, allocations: 42.53 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.214e-05/0.3817, allocations: 24.91 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3818, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3818, allocations: 30.56 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3818, allocations: 4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.3822, allocations: 81.48 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.3822, allocations: 51.41 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.3823, allocations: 110 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3823, allocations: 25.7 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.3824, allocations: 84.14 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.3824, allocations: 3.906 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.3824, allocations: 13.72 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3826, allocations: 310.8 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.3827, allocations: 19.97 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.3827, allocations: 19.98 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3829, allocations: 40.77 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3829, allocations: 4 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.3831, allocations: 65.59 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3831, allocations: 10.12 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3831, allocations: 4 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3832, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.3833, allocations: 7.984 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3833, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.3833, allocations: 7.984 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3833, allocations: 4 kB / 1.071 GB, free: 7.281 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.017e-05/0.3834, allocations: 109.8 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.3834, allocations: 0 / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.3837, allocations: 80.72 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3837, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3837, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3837, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.3839, allocations: 161.6 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3839, allocations: 0 / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.3839, allocations: 8 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3839, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.384, allocations: 7.969 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.384, allocations: 7.984 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.384, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3842, allocations: 167.3 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.3843, allocations: 81.09 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3843, allocations: 7.938 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.3844, allocations: 4.031 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3844, allocations: 7.984 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3844, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.3845, allocations: 83.28 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3845, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002157/0.3847, allocations: 4 kB / 1.072 GB, free: 6.465 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.0001386/0.3848, allocations: 95.25 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.3851, allocations: 43.95 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3851, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.3852, allocations: 19.92 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3855, allocations: 11.88 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.3858, allocations: 103.7 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.386, allocations: 0.677 MB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.3861, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3861, allocations: 7.438 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.3861, allocations: 7.938 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of Templates: time 0.002532/0.3887, allocations: 365.5 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1)