Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108.1 kB / 16.37 MB, free: 6.469 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.001647/0.001647, allocations: 189 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.908/1.908, allocations: 292.3 MB / 0.5496 GB, free: 17.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 74.86 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2371, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.002324/0.2395, allocations: 0.666 MB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2407, allocations: 0.8048 MB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.2407, allocations: 0 / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.2408, allocations: 4 kB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.2409, allocations: 3.938 kB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.241, allocations: 15.97 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.874e-05/0.2411, allocations: 23.92 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2412, allocations: 4 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.2413, allocations: 8 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.2413, allocations: 15.92 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2413, allocations: 0 / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.2414, allocations: 4 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.2414, allocations: 4 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.2414, allocations: 11.92 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.91e-05/0.2415, allocations: 23.89 kB / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2415, allocations: 0 / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2415, allocations: 4 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2415, allocations: 0 / 0.7864 GB, free: 1.547 MB / 0.6544 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.0004928/0.242, allocations: 339.4 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2421, allocations: 8.031 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.2421, allocations: 4.938 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2422, allocations: 164.4 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2423, allocations: 384 / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2423, allocations: 8.375 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.2425, allocations: 46.17 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2425, allocations: 192 / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2425, allocations: 11.94 kB / 0.7869 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2425, allocations: 0 / 0.7869 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.2427, allocations: 35.94 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.2431, allocations: 248.9 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2432, allocations: 46.47 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.2433, allocations: 20.91 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.2433, allocations: 0 / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2434, allocations: 34.56 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2434, allocations: 0 / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003583/0.2437, allocations: 85.55 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2438, allocations: 51.41 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.2439, allocations: 101.8 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.2439, allocations: 29.83 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.244, allocations: 88.08 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.244, allocations: 3.906 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.244, allocations: 17.72 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4212/0.6652, allocations: 314.8 kB / 0.7879 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.6655, allocations: 19.44 kB / 0.788 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.021e-05/0.6656, allocations: 10.16 kB / 0.788 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.6658, allocations: 42.59 kB / 0.788 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6658, allocations: 0 / 0.788 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002245/0.666, allocations: 71.33 kB / 0.7881 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.666, allocations: 5.25 kB / 0.7881 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.666, allocations: 0 / 0.7881 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.6661, allocations: 0 / 0.7881 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.6662, allocations: 13.41 kB / 0.7881 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6662, allocations: 0 / 0.7881 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.6662, allocations: 6.312 kB / 0.7881 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.6663, allocations: 3.625 kB / 0.7881 GB, free: 49.08 MB / 0.6544 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 6.567e-05/0.6663, allocations: 111.6 kB / 0.7882 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.6664, allocations: 5.719 kB / 0.7882 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.6666, allocations: 72.19 kB / 0.7883 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.6666, allocations: 0 / 0.7883 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6666, allocations: 9.438 kB / 0.7883 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6666, allocations: 2.438 kB / 0.7883 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.6668, allocations: 155.5 kB / 0.7885 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6668, allocations: 0 / 0.7885 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.6669, allocations: 11.06 kB / 0.7885 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6669, allocations: 0 / 0.7885 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.6669, allocations: 0 / 0.7885 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6669, allocations: 1.094 kB / 0.7885 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6669, allocations: 6.562 kB / 0.7885 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.6671, allocations: 164.6 kB / 0.7886 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.6672, allocations: 84.45 kB / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.6672, allocations: 0 / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.6673, allocations: 12.47 kB / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.6673, allocations: 3.938 kB / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.6673, allocations: 0 / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.6674, allocations: 84.47 kB / 0.7888 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.31e-07/0.6674, allocations: 0 / 0.7888 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002269/0.6676, allocations: 2.625 kB / 0.7888 GB, free: 48.44 MB / 0.6544 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.0001341/0.6677, allocations: 101.3 kB / 0.7889 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.668, allocations: 40.73 kB / 0.7889 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.668, allocations: 0 / 0.7889 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.6681, allocations: 23.47 kB / 0.789 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.6685, allocations: 5.141 kB / 0.789 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.669, allocations: 129.1 kB / 0.7891 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.6691, allocations: 0.6802 MB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.6692, allocations: 7.438 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.6692, allocations: 2.875 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.002229/0.6714, allocations: 0.5413 MB / 0.7903 GB, free: 47.53 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)