Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, 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.001671/0.001671, allocations: 192.2 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.36 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3336, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002386/0.3361, allocations: 0.6662 MB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3371, allocations: 0.8022 MB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.3372, allocations: 0 / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.3372, allocations: 7.922 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.3373, allocations: 7.938 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.3375, allocations: 11.98 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.3376, allocations: 19.98 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3377, allocations: 4 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.488e-05/0.3378, allocations: 23.86 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.3378, allocations: 8 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3379, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.3379, allocations: 4 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.3379, allocations: 7.922 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.3379, allocations: 4 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.543e-05/0.338, allocations: 23.89 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.338, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.338, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.3381, allocations: 0 / 1.07 GB, free: 8.762 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.0005008/0.3386, allocations: 339.8 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3386, allocations: 8.031 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.3387, allocations: 4.938 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3388, allocations: 168.3 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3388, allocations: 384 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.3389, allocations: 4.359 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.339, allocations: 50.23 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3391, allocations: 192 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3391, allocations: 7.938 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3391, allocations: 4 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.3393, allocations: 31.91 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.3397, allocations: 240.9 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.3398, allocations: 50.47 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.446e-05/0.34, allocations: 24.91 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.34, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.34, allocations: 34.5 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.34, allocations: 0 / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.3404, allocations: 89.64 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3404, allocations: 51.41 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.3405, allocations: 101.8 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3406, allocations: 29.7 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.3406, allocations: 80.14 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.3406, allocations: 7.844 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.3407, allocations: 17.72 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3408, allocations: 314.8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.3409, allocations: 16.02 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.3409, allocations: 19.98 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3411, allocations: 36.77 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3411, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001984/0.3413, allocations: 73.66 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3413, allocations: 4 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3414, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3414, allocations: 4 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.3415, allocations: 7.984 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3415, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.3415, allocations: 7.984 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3415, allocations: 0 / 1.071 GB, free: 6.742 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.0001539/0.3417, allocations: 121.8 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.3417, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.342, allocations: 68.72 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.342, allocations: 4 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.342, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.342, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.3422, allocations: 161.6 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3422, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.3423, allocations: 16.02 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3423, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3423, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3423, allocations: 3.938 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3423, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.3426, allocations: 171.3 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.3426, allocations: 77.11 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3427, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.3427, allocations: 11.98 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3428, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3428, allocations: 192 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.3428, allocations: 83.27 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3428, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000217/0.3431, allocations: 0 / 1.072 GB, free: 5.926 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.0001395/0.3432, allocations: 107.8 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3434, allocations: 35.97 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3434, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.3435, allocations: 19.92 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3439, allocations: 21.36 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.3441, allocations: 109.6 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.3444, allocations: 0.6768 MB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.3445, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.3445, allocations: 7.438 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3445, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.002476/0.347, allocations: 445.6 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1)