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.001681/0.001681, allocations: 100.8 kB / 16.27 MB, free: 6.418 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.001734/0.001734, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.473/1.473, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.5495 GB, free: 17.45 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.001706/0.001706, allocations: 79.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2824, allocations: 114.5 MB / 0.784 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002674/0.2851, allocations: 0.6572 MB / 0.7847 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2863, allocations: 0.7971 MB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.2864, allocations: 0 / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.2865, allocations: 3.938 kB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.093e-05/0.2866, allocations: 3.938 kB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.321e-05/0.2867, allocations: 11.92 kB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.2867, allocations: 16 kB / 0.7855 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2869, allocations: 15.98 kB / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/0.287, allocations: 7.938 kB / 0.7855 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.927e-05/0.287, allocations: 11.92 kB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.287, allocations: 4 kB / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-06/0.287, allocations: 0 / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.2871, allocations: 4 kB / 0.7855 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.2871, allocations: 15.92 kB / 0.7856 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.935e-05/0.2872, allocations: 31.83 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2872, allocations: 0 / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2872, allocations: 0 / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2872, allocations: 4 kB / 0.7856 GB, free: 2.246 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.0004951/0.2877, allocations: 339.7 kB / 0.7859 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.2878, allocations: 8.031 kB / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.2878, allocations: 4.938 kB / 0.7859 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.288, allocations: 160.4 kB / 0.7861 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.288, allocations: 4.359 kB / 0.7861 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.288, allocations: 384 / 0.7861 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.2882, allocations: 54.23 kB / 0.7861 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2882, allocations: 192 / 0.7861 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2883, allocations: 3.938 kB / 0.7861 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2883, allocations: 4 kB / 0.7861 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.2884, allocations: 35.89 kB / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.2888, allocations: 252.9 kB / 0.7864 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.289, allocations: 46.48 kB / 0.7865 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.2891, allocations: 16.91 kB / 0.7865 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.2891, allocations: 0 / 0.7865 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.2891, allocations: 38.56 kB / 0.7865 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.496e-06/0.2891, allocations: 0 / 0.7865 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003671/0.2895, allocations: 81.58 kB / 0.7866 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.2896, allocations: 55.41 kB / 0.7866 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.2897, allocations: 105.8 kB / 0.7868 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2897, allocations: 29.69 kB / 0.7868 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.2897, allocations: 88.14 kB / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.2898, allocations: 3.906 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.2898, allocations: 9.719 kB / 0.7869 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2899, allocations: 323 kB / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.29, allocations: 15.97 kB / 0.7872 GB, free: 392 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.2901, allocations: 15.98 kB / 0.7872 GB, free: 376 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.2903, allocations: 40.77 kB / 0.7873 GB, free: 332 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2903, allocations: 0 / 0.7873 GB, free: 332 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001933/0.2905, allocations: 73.66 kB / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2905, allocations: 4 kB / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2905, allocations: 0 / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2905, allocations: 0 / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.2906, allocations: 11.98 kB / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2907, allocations: 0 / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.2907, allocations: 4 kB / 0.7873 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.2907, allocations: 32 / 0.7873 GB, free: 232 kB / 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 0.0001004/0.2908, allocations: 125.8 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2909, allocations: 7.844 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.2909, allocations: 3.125 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2909, allocations: 0 / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2909, allocations: 0 / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2909, allocations: 0 / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5411/0.832, allocations: 164 kB / 0.7876 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.832, allocations: 3 kB / 0.7876 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.8322, allocations: 7.234 kB / 0.7876 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.8322, allocations: 0 / 0.7876 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.8322, allocations: 3.125 kB / 0.7876 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.8322, allocations: 2.656 kB / 0.7876 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.8322, allocations: 3.094 kB / 0.7876 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.8325, allocations: 164.4 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.8325, allocations: 79.5 kB / 0.7879 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.8326, allocations: 2.812 kB / 0.7879 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.8327, allocations: 6.141 kB / 0.7879 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.8327, allocations: 5.609 kB / 0.7879 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.8327, allocations: 0 / 0.7879 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.8328, allocations: 87.84 kB / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8328, allocations: 2.594 kB / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00029/0.8331, allocations: 5.438 kB / 0.788 GB, free: 48.2 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.0001628/0.8332, allocations: 101.1 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.8335, allocations: 36.17 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8335, allocations: 1 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.8336, allocations: 24.09 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.8341, allocations: 7.109 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.8345, allocations: 128.1 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.8347, allocations: 0.6757 MB / 0.7889 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.8347, allocations: 10.19 kB / 0.7889 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.8347, allocations: 3.375 kB / 0.7889 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.002151/0.8369, allocations: 0.5436 MB / 0.7895 GB, free: 47.29 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)