Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 104.6 kB / 16.36 MB, free: 6.355 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.001076/0.001076, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001473/0.001474, allocations: 71.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2522, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002341/0.2546, allocations: 0.6673 MB / 0.7854 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2556, allocations: 0.7932 MB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.2557, allocations: 0 / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.2558, allocations: 3.938 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.205e-05/0.2558, allocations: 7.938 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.994e-05/0.2559, allocations: 3.984 kB / 0.7862 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.223e-05/0.256, allocations: 23.94 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2561, allocations: 11.98 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.2562, allocations: 3.938 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.2562, allocations: 15.92 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2563, allocations: 4 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-06/0.2563, allocations: 0 / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.2563, allocations: 4 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.2563, allocations: 19.92 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.256e-05/0.2564, allocations: 23.89 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2564, allocations: 0 / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2564, allocations: 0 / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.2564, allocations: 0 / 0.7863 GB, free: 1.523 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.0004933/0.2569, allocations: 343.4 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.257, allocations: 8.031 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.257, allocations: 4.938 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2572, allocations: 160.4 kB / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.2572, allocations: 4.375 kB / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.2572, allocations: 384 / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.2574, allocations: 54.17 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2574, allocations: 192 / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2574, allocations: 3.938 kB / 0.7869 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2575, allocations: 4 kB / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.2576, allocations: 35.89 kB / 0.7869 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.258, allocations: 256.8 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.2581, allocations: 42.53 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.2582, allocations: 16.91 kB / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2583, allocations: 3.938 kB / 0.7872 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.2583, allocations: 38.56 kB / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.2583, allocations: 0 / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003643/0.2587, allocations: 77.64 kB / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2587, allocations: 55.41 kB / 0.7874 GB, free: 260 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.2588, allocations: 105.8 kB / 0.7875 GB, free: 144 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2588, allocations: 25.7 kB / 0.7875 GB, free: 112 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.2589, allocations: 92.27 kB / 0.7876 GB, free: 16 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.2589, allocations: 3.906 kB / 0.7876 GB, free: 12 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4789/0.7378, allocations: 13.66 kB / 0.7876 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.738, allocations: 313.7 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.7381, allocations: 14.7 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.949e-05/0.7382, allocations: 18.75 kB / 0.788 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.7384, allocations: 39.23 kB / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7384, allocations: 0.5625 kB / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002279/0.7387, allocations: 75.25 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7387, allocations: 5.25 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.7387, allocations: 0 / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.7387, allocations: 0 / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.7389, allocations: 11.2 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7389, allocations: 1.75 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.7389, allocations: 8.25 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.7389, allocations: 0 / 0.7881 GB, free: 48.37 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.479e-05/0.739, allocations: 114.7 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.739, allocations: 2.812 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.7391, allocations: 13.83 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7391, allocations: 0 / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.7391, allocations: 3.938 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7391, allocations: 0 / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.7392, allocations: 159.8 kB / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7393, allocations: 2.625 kB / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.7393, allocations: 9.203 kB / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.7393, allocations: 3.344 kB / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.7393, allocations: 1.594 kB / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7393, allocations: 0 / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7393, allocations: 3.938 kB / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.7396, allocations: 166.6 kB / 0.7886 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.7396, allocations: 80.23 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.7396, allocations: 0.75 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.7397, allocations: 11.17 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.7398, allocations: 3.938 kB / 0.7886 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.7398, allocations: 1.281 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.362e-05/0.7398, allocations: 90.81 kB / 0.7887 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7398, allocations: 2.688 kB / 0.7887 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002217/0.7401, allocations: 5.125 kB / 0.7887 GB, free: 47.76 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.0001431/0.7402, allocations: 100.1 kB / 0.7888 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.7404, allocations: 41.47 kB / 0.7889 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7404, allocations: 1.594 kB / 0.7889 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.7405, allocations: 22.02 kB / 0.7889 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.7409, allocations: 1.797 kB / 0.7889 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.7413, allocations: 129.7 kB / 0.789 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.7414, allocations: 0.6781 MB / 0.7897 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.7415, allocations: 10.06 kB / 0.7897 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7415, allocations: 0 / 0.7897 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.002061/0.7435, allocations: 0.5496 MB / 0.7902 GB, free: 46.85 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)