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.001464/0.001464, allocations: 105.4 kB / 15.69 MB, free: 140 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.001673/0.001673, allocations: 192.8 kB / 16.62 MB, free: 6.621 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 4.602 MB / 174.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.875/1.875, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.001643/0.001643, allocations: 76.92 kB / 0.6723 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2902, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002613/0.2928, allocations: 0.6709 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.2938, allocations: 0.7815 MB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.2939, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.294, allocations: 7.938 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.294, allocations: 7.922 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.642e-05/0.2941, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.2942, allocations: 23.92 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2943, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.2944, allocations: 19.92 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.2944, allocations: 15.92 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2944, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.2945, allocations: 4 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.2945, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.2945, allocations: 15.92 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.57e-05/0.2946, allocations: 23.89 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2946, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2946, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2946, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 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.0005449/0.2952, allocations: 343.4 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2952, allocations: 12.03 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.2953, allocations: 0.9375 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.2954, allocations: 172.3 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2954, allocations: 384 / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2954, allocations: 384 / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.2956, allocations: 54.17 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2956, allocations: 192 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2957, allocations: 3.938 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2957, allocations: 4 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.2958, allocations: 35.95 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.2962, allocations: 241 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.2964, allocations: 38.5 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.2965, allocations: 32.89 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.2965, allocations: 7.875 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.2965, allocations: 30.56 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.2965, allocations: 0 / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003553/0.2969, allocations: 81.64 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.297, allocations: 55.53 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.297, allocations: 101.9 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.2971, allocations: 25.7 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.2971, allocations: 80.14 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2971, allocations: 7.891 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.2972, allocations: 21.66 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2973, allocations: 310.8 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.2974, allocations: 23.98 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.2975, allocations: 15.92 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.2976, allocations: 40.81 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2976, allocations: 0 / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001696/0.2978, allocations: 77.66 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2978, allocations: 4 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2978, allocations: 0 / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2978, allocations: 0 / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.2979, allocations: 8 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2979, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.298, allocations: 8.234 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.298, allocations: 0 / 0.7874 GB, free: 9.094 MB / 0.6075 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.643e-05/0.2981, allocations: 113.7 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.2981, allocations: 15.94 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.2981, allocations: 11.11 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2982, allocations: 0 / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2982, allocations: 0 / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2982, allocations: 0 / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2983, allocations: 161.5 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2983, allocations: 0 / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.2984, allocations: 11.98 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2984, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2984, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2984, allocations: 4 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2984, allocations: 0 / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.2986, allocations: 163.5 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.2987, allocations: 81.11 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2987, allocations: 0 / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.2988, allocations: 12.02 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.2988, allocations: 7.922 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.2988, allocations: 0 / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.2989, allocations: 91.2 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2989, allocations: 0 / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002032/0.2991, allocations: 4 kB / 0.7881 GB, free: 8.332 MB / 0.6075 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.0001152/0.2992, allocations: 103.2 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.2994, allocations: 35.97 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2994, allocations: 0 / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.2995, allocations: 23.97 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2998, allocations: 7.938 kB / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.3001, allocations: 116.6 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3004, allocations: 0.6768 MB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.3004, allocations: 4.125 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.3005, allocations: 7.438 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3005, allocations: 0 / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of Templates: time 0.002508/0.303, allocations: 441.1 kB / 0.7895 GB, free: 6.879 MB / 0.6075 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)